On Wed, 25 Jun 2008, Martijn wrote:
On Tue, Jun 17, 2008 at 4:39 PM, Matt Sergeant wrote:
Fixed in SVN (I think).
I still get an error when I use My::BaseClass::SubClass as a
base-class, which inherits the handler method from My::BaseClass.
Which makes sense: in _load_module() only My::BaseClass::SubClass is
added to %INC; hence My::BaseClass::SubClass->can('handler') returns
false. Indeed, if I visit another page, that uses My::BaseClass as its
base-class, then it is added to %INC and any the error won't appear on
subsequent visits to the original page. Until, of course, the
AxKit-server is started again.
How do you mean "inherits from"?
If you're just doing @ISA = qw(My::BaseClass); that's not enough - try
"use base qw(My::BaseClass);" instead.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]