Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Help required on Getopt::Long

by Anonymous Monk
on May 16, 2012 at 11:58 UTC ( [id://970820]=note: print w/replies, xml ) Need Help??


in reply to Re: Help required on Getopt::Long
in thread Help required on Getopt::Long

Replacing equal sign with colon alone does not solve the problem. It changes the problem by making the value for option abc optional instead of being required; equals sign impose that a value need to be specified ...

= type [ desttype ] [ repeat ] The option requires an argument of the given type. . . . : type [ desttype ] Like "=", but designates the argument as optional. If omitted, an empty string will be assigned to string values options, and the value zero to numeric options.

Replies are listed 'Best First'.
Re^3: Help required on Getopt::Long
by Anonymous Monk on May 16, 2012 at 14:35 UTC

    ".. equals sign impose that a value need to be specified ..." -- self.

    GAAH! Make that "... equals sign imposes that a value is need to be specified ...".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found