Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: GetOpt Organization (error check)

by Anonymous Monk
on Mar 10, 2015 at 11:29 UTC ( [id://1119467]=note: print w/replies, xml ) Need Help??


in reply to Re^2: GetOpt Organization (error check)
in thread GetOpt Organization

tsk, tsk.. no monk checks for the return status of GetOptions ?? You want your program running with invalid option passed?

The validation options and return value of GetOptions , and esp their combination, isn't that useful

You still have to do your own validation, so let GetOptions warn, then write your program

  • Comment on Re^3: GetOpt Organization (error check)

Replies are listed 'Best First'.
Re^4: GetOpt Organization (error check)
by Discipulus (Canon) on Mar 10, 2015 at 11:42 UTC
    Yes you are absolutely right.

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2024-04-24 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found