in reply to parsing commandline arguments

You also might want to look at Getopt::Declare by Damian Conway. It is the kitchen-sink of argument processors. It support any number of argument formats, automatically generates usage, can verify multi-argument dependencies, plus a whole lot more.

-pete
Entropy is not what is used to be.