Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2016-08-30 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (410 votes). Check out past polls.