in reply to Is there a module for handling interactive user inputs?

Take a look at: Shell::Base

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