Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: unshifting by reference

by kejohm (Hermit)
on Dec 16, 2011 at 04:56 UTC ( #943879=note: print w/replies, xml ) Need Help??


in reply to unshifting by reference

On a side note, as of Perl v5.14, shift, unshift, push, and pop can now take a reference to an unblessed array as their first argument, which will be automatically dereferenced, although it is considered experimental.