Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Overriding CORE::GLOBAL::warn/die

by chromatic (Archbishop)
on Sep 21, 2012 at 18:35 UTC ( #994970=note: print w/replies, xml ) Need Help??

in reply to Overriding CORE::GLOBAL::warn/die

By the time Perl compiles the use warn; statement, it's already decided that the first warn refers to the builtin warn. Perl won't go back and recompile code it's already compiled when you override a keyword (that's not possible in some cases).

Replies are listed 'Best First'.
Re^2: Overriding CORE::GLOBAL::warn/die
by clueless newbie (Hermit) on Sep 21, 2012 at 18:53 UTC

    Thank you! I thought it was something along those lines.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-10-21 22:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.