Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

(jeffa) Re: Help with processing command line arguments

by jeffa (Bishop)
on Dec 15, 2002 at 18:30 UTC ( [id://220033]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;      # always!
    
    ...
    elsif ($op =~ /multiply/) {
        print "The product is: ", multiply(@ARGV), "\n";
    }
    
  2. or download this
    sub add {
       my $sum = 0;
    ...
       }
       return $sum;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-03-28 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found