in reply to Simple Q: Make it prompt for a variable
If you have file names in the command line, <> will not do:
my $prompt = 'Prompt: '; print $prompt; chomp( my $var = <STDIN> ); [download]
After Compline,Zaxo