File: interactive.pl

package info (click to toggle)
libio-prompt-perl 0.997001-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 276 kB
  • sloc: perl: 846; makefile: 2
file content (9 lines) | stat: -rwxr-xr-x 115 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#! /usr/bin/perl -w

# Basic example...

use IO::Prompt;

while (prompt "next: ") {
    print "You said '$_'\n";
}