[Chicago-talk] alternatives to Getopt::Long

Mike Fragassi frag at ripco.com
Fri May 7 15:52:39 CDT 2004


On Fri, 7 May 2004, Jim Thomason wrote:

> > (This is all about the First Virtue, guys.)
>
> Hey, I gave you a slick and slightly legible oneliner
> to yank the stuff outta @ARGV.
>
> All you'd need to do is cut 'n paste, which shouldn't
> violate the first virtue.
>
> Saying, "Hey, you guys, somebody wanna write me a
> snippet to do this?" is still plenty lazy. :)

It's only lazy if you don't want to/don't need to test the snippet, which
was kinda obfu.  Maybe if you threw in a test suite with that snippet...
But even then, I want more than just this feature (e.g. the way
Getopt::Long detects undeclared options), without having to go through the
very unlazy process of wheel reinvention.

-- Mike F.



More information about the Chicago-talk mailing list