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

Re: calculator script

by kiruthika.bkite (Scribe)
on Apr 29, 2010 at 04:12 UTC ( [id://837441]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $nbArguments = $#ARGV + 1; 
    print "number of arguments: $nbArgumentsn"; 
    exit(1) unless $nbArguments == 5;
    
  2. or download this
    $a = $ARGV[0]; 
    $operation = $ARGV[1]; 
    $b = $ARGV[2]; 
    $c = $ARGV[3]
    
  3. or download this
    $val1 = $ARGV[0]; 
    $operation1 = $ARGV[1]; 
    $val2 = $ARGV[2]; 
    $operation2 = $ARGV[3]
    $val3=$ARGV[4]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-23 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found