Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: fun(?) with +=

by Rhose (Priest)
on Jan 03, 2005 at 16:35 UTC ( #418983=note: print w/ replies, xml ) Need Help??


in reply to Re^2: fun(?) with +=
in thread fun(?) with +=

Do you mean that you'd write it as:

$foo = @ARGV ? shift : 1;

(I think you may have the 1 and shift switched.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-06-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.