in reply to Re^2: Overloaded *CORE:: function not behaving correctly
in thread Overloaded *CORE:: function not behaving correctly
I believe this is so that builtins aren't looked up every time they are called, which is almost certainly for speed reasons. Where the fact that this 'builtin overriding behaviour needs to be implemented at compile-time' is documented, I'm not sure. It might be documented in the 3rd Camel, but I can't seem to find hide or hair of it in the standard docs. A patch to the Overriding Built-in Functions section of perlsub is probably needed.
HTH
_________
broquaint
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Overloaded *CORE:: function not behaving correctly
by ysth (Canon) on Jul 29, 2004 at 08:35 UTC |
In Section
Seekers of Perl Wisdom