in reply to GetOpts problem..........I think.........
the colon means that 'd' takes arguments. If you're not giving it an argument, the value part of the hash is empty.. which in turn means that your if check will return false.getopts('ed:', \%opts);
Hope this helps..
Rich
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: GetOpts problem..........I think.........
by void (Scribe) on Sep 07, 2001 at 23:16 UTC |