Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Why should I use perl 5.10?

by Somni (Friar)
on Dec 01, 2007 at 16:17 UTC ( #654339=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?

This change applies specifically to qw(...). The code:

@x = qw(a b c); print @x x 3;
still prints "333". qw(a b c) x 3 used to be a syntax error.

What I find confusing is why this is mentioned for 5.10. This was added in 5.8.8 according to my perl588delta.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654339]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2017-07-26 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (383 votes). Check out past polls.