http://qs321.pair.com?node_id=445229


in reply to Re^2: A nice little question for the insane
in thread A nice little question for the insane

And in fact, these tools are bundled with Perl. Take a look at geopt/Getopt::Std, although I like Getopt::Long much better.