Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by kennethk (Abbot)
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 (Priest) 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 taking refuge in the Monastery: (5)
As of 2015-07-06 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls