in reply to getting args without clobbering @ARGV

Clunky as it may be, this is where Getopt::Long excels. With Getopt::Long, the -hyphenated options can be processed, while leaving non-hyphenated (such as filenames) untouched in @ARGV.

Actually, after you use Getopt::Long a few times I think you'll gain enough familiarity with it that you'll no longer consider it too clunky.


Dave

  • Comment on Re: getting args without clobbering @ARGV