NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I'm doing something all wrong... (Score:2)
XML::SAX::Intro contains the following example:
I've got almost exactly that, with MySAXHandler defined as a subclass of XML::SAX::Base with no overridden methods, and I get:
Can't locate object method "parse_uri" via package "XML::SAX::ParserFactory"I'm sure I'll figure this out somehow...
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:I'm doing something all wrong... (Score:2)
Glad to see you found the answer to your problem :) Please also note that you don't need to (and in fact probably shouldn't) inherit from XSB for Handlers. It's only for Drivers and Filters. What happened is that we optimised for the most common case, which is the Handler. So all you need there is the methods that you wish to use, *nothing* else.
-- Robin Berjon [berjon.com]
Reply to This
Parent