in reply to Use Getopt::Long even if you don't think you need to
You're right, Getopt::Long is great. However, I *do* use it all the time. I have a parse_cmdline_opt() sub that I use in all my Perl programs that takes ref to hash. To tailor the parser to each new program, I just change the hash keys for the options I wish to support. Everyone should use Getopt::Long, even for that one arg.