Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

Liz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://300515]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2016-12-06 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (114 votes). Check out past polls.