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

Re^3: fun(?) with +=

by Rhose (Priest)
on Jan 03, 2005 at 16:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://418983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-03-29 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found