From:
Matt Sergeant <matt [at] sergeant.org>
Date:
Wed, 25 Jun 2008 12:50:48 +0000 (UTC)
To:
Martijn <sweetwatergeek [at] googlemail.com>
To:
axkit-users [at] axkit.org
Subject:
Re: ax2: base-class in XSP documents fails
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.
Re: base-class in XSP documents fails - Martijn on 6 Jun 2008 14:50:01 +0000
Re: base-class in XSP documents fails - Matt Sergeant on 17 Jun 2008 15:40:57 +0000
Re: base-class in XSP documents fails - Martijn on 25 Jun 2008 12:08:28 +0000
Re: base-class in XSP documents fails - Matt Sergeant on 25 Jun 2008 12:51:12 +0000
Re: base-class in XSP documents fails - Martijn on 25 Jun 2008 13:19:17 +0000
Re: base-class in XSP documents fails - Martijn on 25 Jun 2008 13:28:47 +0000
Re: base-class in XSP documents fails - Matt Sergeant on 25 Jun 2008 15:57:35 +0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index