Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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).

Comment on Re: Overriding CORE::GLOBAL::warn/die
Select or Download Code
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: (2)
As of 2015-10-04 03:15 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (98 votes), past polls