Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 avoiding work at the Monastery: (2)
As of 2025-03-16 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (54 votes). Check out past polls.