Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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.)


Comment on Re^3: fun(?) with +=
Download Code

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 avoiding work at the Monastery: (12)
As of 2015-07-30 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls