in reply to Testing <> for undefined

I think you're going to like Getopt::Long and Pod::Usage. (and you can look up @ARGV in perlvar)