in reply to Using Getopt::Long and prompting for arguments

From Perl Best Practices, page 220:
use IO::Prompt; my $answer = prompt 'Please enter XXX: ';