Consider Getopt::Declare as an alternative. It's worth reading about - it basically combines both the usage statement and the Getopt call.
In reply to Re: How to write script usage section
by pbeckingham
in thread How to write script usage section
by perl@newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |