Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Parsing options with Getopt & Dispatch Table

by broomduster (Priest)
on Feb 18, 2011 at 15:56 UTC ( [id://888933]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use 5.010;
    ...
        exit 1;
    }
    
  2. or download this
    ./pm-888730 -h -d -p
    
    ...
    Doing stuff.....
    exiting normally
    
  3. or download this
    ./pm-888730 -d -x
    
    ...
    
    Invalid option detected... Quitting!!!
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-18 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found