Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: !Overriding Builtin print

by liz (Monsignor)
on Oct 20, 2003 at 09:20 UTC ( #300515=note: print w/ replies, xml ) Need Help??

in reply to !Overriding Builtin print

...I was all set to give a superb answer..

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". ;-(


Comment on Re: !Overriding Builtin print

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2015-11-28 07:19 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls