Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Redefining a method in XML::SAX::PurePerl

by bobf (Monsignor)
on Jul 31, 2009 at 20:09 UTC ( [id://784987]=note: print w/replies, xml ) Need Help??


in reply to Re: Redefining a method in XML::SAX::PurePerl
in thread Redefining a method in XML::SAX::PurePerl

Thanks, AM, that did the trick. I assumed when XML::SAX::PurePerl was loaded via Twig I could just piggyback off of it. I didn't know I had to explicitly 'use' it in my script as well.

  • Comment on Re^2: Redefining a method in XML::SAX::PurePerl

Replies are listed 'Best First'.
Re^3: Redefining a method in XML::SAX::PurePerl
by Anonymous Monk on Jul 31, 2009 at 23:58 UTC
    unless it is loaded before you try overriding, it will overrides your override, and the only way to be sure is to load it yourself first.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found