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
In reply to Re: GetOpts problem..........I think.........
by rchiav
in thread GetOpts problem..........I think.........
by void
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |