in reply to Overriding via a subclass?
Methods called on instances of your class that aren't found in your package will be found in parent classes (Perl examines the contents of your @ISA). If you provide your own, it won't go loooking up the inheritance chain.package MyParser; use HTML::Parser; @MyParser::ISA = qw( HTML::Parser ); sub text { # do what you will here }
|
|---|