Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: Adding 2 + 2

by d4vis (Chaplain)
on Sep 12, 2000 at 02:32 UTC ( #32009=note: print w/ replies, xml ) Need Help??


in reply to Adding 2 + 2

@list=(1,2,3); if ($list[1] eq '2' && $list[2]++ eq '3') { print "The answer is $list[2]\n"; } else { print "Insufficiently large value of 2\n"; }


~d4vis
#!/usr/bin/fnord


Comment on RE: Adding 2 + 2
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-27 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls