Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Parsing your script's command line

by Not_a_Number (Prior)
on Aug 14, 2003 at 18:07 UTC ( #283951=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $thing = shift;
    $thing ||= 'default' unless defined $thing;
    
  2. or download this
    my $thing = shift;
    $thing = 'default' unless defined $thing;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://283951]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-11-18 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?