in reply to how did this module get into CPAN ?!

Um, but that doesn't do all that the module does. The perl 5.000 version is closer to that, though; it's been tweaked a lot over the years.

Note that Getopt::Long and Getopt::Std are both bundled with perl. There's usually no reason to choose ::Std over ::Long; if you don't need the added flexibility now, you may in the future. And yes, Getopt::Long is arguably more bloated than necessary too, but some would call that robust.

Maybe what you want is just the -s switch?

  • Comment on Re: how did this module get into CPAN ?!