Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Why should I use perl 5.10?

by John M. Dlugosz (Monsignor)
on Apr 29, 2008 at 15:34 UTC ( #683502=note: print w/ replies, xml ) Need Help??


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

Thanks for the catalog. I've been focused on Perl 6, and had no idea that 5.10 back-ported so many important features. I also noticed 'say' as a built-in.

Re stacked filetests: The syntax is different, but you can indeed stack them. And define your own operators on your own types that work the same way.


Comment on Re^2: Why should I use perl 5.10?
Re^3: Why should I use perl 5.10?
by Anonymous Monk on Dec 08, 2009 at 13:36 UTC
    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!

      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://683502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-09-18 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (104 votes), past polls