Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: using "Getopt::Long" how to check parameter mandatory

by DrWhy (Chaplain)
on Aug 24, 2010 at 21:39 UTC ( [id://857028]=note: print w/replies, xml ) Need Help??


in reply to Re: using "Getopt::Long" how to check parameter mandatory
in thread using "Getopt::Long" how to check parameter mandatory

That's a very narrow view of 'command line options'. It is better I believe to think of them as named parameters, some of which may be required and some optional.

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

  • Comment on Re^2: using "Getopt::Long" how to check parameter mandatory

Replies are listed 'Best First'.
Re^3: using "Getopt::Long" how to check parameter mandatory
by JavaFan (Canon) on Aug 24, 2010 at 22:06 UTC
    Considering he's the author of the module, he may have an as narrow minded view as he wishes. He made his work available for others to use, if you don't like the module, you have the freedom to write your own, and then you can treat options to not be optional.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2026-02-08 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.