in reply to Looking for an easier way

how about..
help() unless keys %option;
Rich

Replies are listed 'Best First'.
Re: Re: Looking for an easier way
by runrig (Abbot) on Jul 18, 2001 at 21:25 UTC
    %option will be empty if there were no options supplied, so you can change that to just:
    help() unless %option;
Re: Re: Looking for an easier way
by c (Hermit) on Jul 18, 2001 at 20:59 UTC
    Thanks, I'm very new if not dripping wet behind the ears when it comes to hashes. I am familiar with "keys". I'll look into it.

    Again, thanks. -c