Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-07-29 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls