Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2016-12-06 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.