in reply to More on Processing Command Line Arguments
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: More on Processing Command Line Arguments
by Ninthwave (Chaplain) on Oct 31, 2003 at 16:09 UTC |