in reply to multiple-arg commands
You could look at perldoc perlvar and check out @ARGV
email: mandog
... or even Getopt::Declare that is not claimed to be "POSIX syntax with GNU extension"-compatible but IMHO much more powerfull and has more informative diagnostics (thanks TheDamian again!).