in reply to Is there a module for handling interactive user inputs?
From the doc:
After writing several REP (Read-Eval-Print) loops in Perl, I found myself wishing for something a little more convenient than starting with:
while(1) { my $line = <STDIN>; last unless defined $line; chomp $line; if ($line =~ /^...
TheStudent
|
|---|