Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: One of these things is not like the others...

by kennethk (Monsignor)
on Oct 22, 2013 at 18:36 UTC ( #1059244=note: print w/ replies, xml ) Need Help??


in reply to Re: One of these things is not like the others...
in thread One of these things is not like the others...

From push:

Starting with Perl 5.14, push can take a scalar EXPR, which must hold a reference to an unblessed array. The argument will be dereferenced automatically. This aspect of push is considered highly experimental. The exact behaviour may change in a future version of Perl.
Update: (which McA pointed out in an update)

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.


Comment on Re^2: One of these things is not like the others...
Re^3: One of these things is not like the others...
by McA (Curate) on Oct 22, 2013 at 18:38 UTC

    While looking up the version which introduced the new behaviour you answered it. A ++ for that.

    UPDATE: I've decided to upvote all answers which came in more or less at the same time referencing the new behaviour. It came faster in than I could hit the reload button. :))

    McA

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-08-01 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (51 votes), past polls