We don't bite newbies here... much | |
PerlMonks |
Re^2: Experimental push on scalar now forbidden (override)by LanX (Saint) |
on May 22, 2017 at 18:39 UTC ( [id://1190874]=note: print w/replies, xml ) | Need Help?? |
Sorry I came late, but if you care more about compatibility than speed you could override push et al with backwards compatible functions. See subs , perlsub#Overriding-Built-in-Functions and CORE . BTW: since I have no access to 5.24 it'll be nice to know what prototype 'CORE::push' returns. Cheers Rolf
PS: > looks like a completely foreign language - shades of using APL in my past!! calling the new syntax APL-like is an euphemism. I wonder sometimes if P5P has a real long term vision.
In Section
Seekers of Perl Wisdom
|
|