1) Move your "initialize variables" section above your call to GetOptions so the lexical variables will exist before you use them.
2) pod2usage() will exit your program, so you don't need the "print manual" in the else.
In reply to Re: More on Processing Command Line Arguments
by ctilmes
in thread More on Processing Command Line Arguments
by Ninthwave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |