in reply to Unexpected results returned from a hash

Have you tried Getopt::Long for this? The command line options will be much less fragile if you do.

After Compline,
Zaxo

  • Comment on Re: Unexpected results returned from a hash

Replies are listed 'Best First'.
Re^2: Unexpected results returned from a hash
by Xaositect (Friar) on Jun 21, 2005 at 19:15 UTC

    I have to agree with Zaxo on this. For a while I thought it was easier to just hand-role option code & errors for simple scripts like this. Then I found GetOpt::Long and Pod::Usage, and never looked back.


    Xaositect - Whitepages.com