Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: non-option argument question

by ikegami (Pope)
on Sep 12, 2012 at 05:16 UTC ( #993135=note: print w/ replies, xml ) Need Help??


in reply to non-option argument question

sub usage { print STDERR $_[0] if @_; print STDERR "usage: ...\n"; exit(1); } GetOptions(\%opt, 'shell=s', 'foo=s', 'bip', 'bar', 'baz' ) or usage(); defined($opt{input}) or usage("Argument 'input' is required\n");


Comment on Re: non-option argument question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-05-27 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (522 votes), past polls