Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^5: shift in list context buggy?

by tobyink (Abbot)
on Nov 10, 2013 at 09:13 UTC ( #1061897=note: print w/replies, xml ) Need Help??

in reply to Re^4: shift in list context buggy?
in thread shift in list context buggy?

The first list in CORE gives you keywords that definitely cannot be overridden using use subs. I think perhaps that anything not listed there may be overridden, but I could be wrong.

Generally the best way to find out if a particular function can be overridden is to try. And remember to test it on all the versions of Perl that you care about because this is something that has been changing quite a bit in recent releases - more and more keywords are becoming over-ridable.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-10-26 11:03 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (340 votes). Check out past polls.