Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: GetOpt Organization

by RichardK (Parson)
on Mar 09, 2015 at 14:16 UTC ( [id://1119322]=note: print w/replies, xml ) Need Help??


in reply to Re: GetOpt Organization
in thread GetOpt Organization

Minor bug - The first param to GetOptions needs to be a reference to a hash \%parms

Replies are listed 'Best First'.
Re^3: GetOpt Organization
by hdb (Monsignor) on Mar 09, 2015 at 14:18 UTC

    That may be so but the code seems to work anyway.

    UPDATE: ...reason being that there are several ways to use GetOpt::Long, one of which does not require a hash ref as first parameter.

      Sorry about that, you're right I misunderstood what you did.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1119322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-23 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found