http://www.perlmonks.org?node_id=1059244


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.

Replies are listed 'Best First'.
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