in reply to GetOpts problem..........I think.........

This line here..
getopts('ed:', \%opts);
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.

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
    Thanks a bunch Rich. I knew it was something small that I was doing.

    "The Universe is not only more complex than we imagine, it is more complex than we can imagine." - Albert Einstein