in reply to !Overriding Builtin print
I know the feeling ;-) I was recently inspired by a post by BrowserUK to override eval, inserting "#line" information in string evals so that any errors inside the eval could be more easily traced. Eval is one of those you can't override either ;-(
What I hate about this, is that Perl just ignores this silently, instead of bombing out saying something like: "You can't override *CORE::GLOBAL::print". ;-(
Liz
|
---|