Also worth a mention simply because I think it's nifty, Getopt::Long has an auto_help option. If you throw some POD in your code (specifically a SYNOPSIS section), turning auto_help on will automatically display that section.
use Getopt::Long qw/:config auto_help/; ... =pod =head1 SYNOPSIS some help text... =cut ...
--
"A long habit of not thinking a thing wrong, gives it a superficial appearance of being right." -- Thomas Paine
naChoZ
In reply to Re^2: Getopt::Long good style?
by naChoZ
in thread Getopt::Long good style?
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |