in reply to Command line argument

This does what you want, but your users have to know about Ctrl-D:

my $argument = $ARGV[0] || (print( "Parameter? "), (<>)[0]); chomp $argument;
Note that the comma after print() is the sequence operator here.

Update: chomped at ++tadman's suggestion. Also, this removes the Ctrl-D problem:

my $argument = $ARGV[0] || (print( "Parameter? "), <>); chomp $argument;

After Compline,
Zaxo