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.