Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Why should I use perl 5.10?

by Anonymous Monk
on Dec 08, 2009 at 13:36 UTC ( #811738=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Why should I use perl 5.10?
in thread Why should I use perl 5.10?

The article says: "defined-or No more $x = defined $y ? $y : $z, you may write $x = $y // $z instead." Does "no more" in this case mean you are no longer *allowed* to do it, or you no longer *need* to do it, because there is an easier way? I must assume the latter!


Comment on Re^3: Why should I use perl 5.10?
Re^4: Why should I use perl 5.10?
by kyle (Abbot) on Dec 08, 2009 at 15:49 UTC

    Your assumption is correct. The old syntax still works, but the new syntax is easier.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-10-23 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (123 votes), past polls