RE: Strange mod_perl error. Help needed!

2001-04-17 Thread Vladislav Safronov

Ok! Thanx! I found the bug :-)

> Try to install the AUTOLOAD sub and trace the calls:
> 
> use Carp;
> sub AUTOLOAD{
> Carp::cluck("trying to load $AUTOLOAD");
> }
> 
> at least you will figure out where the sub is called from. It looks
> 
> _
> Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
> http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
> 
> 



Re: Strange mod_perl error. Help needed!

2001-04-17 Thread Stas Bekman

On Tue, 17 Apr 2001, Vladislav Safronov wrote:

> Hi,
>
> That is all server says on
> http://my.server.ru/kubok?aa=bb
> and
> http://my.server.ru/testmod1?
>
> [Tue Apr 17 15:44:16 2001] [error] Undefined subroutine &main:: called.
> [Tue Apr 17 15:44:18 2001] [error] Undefined subroutine &main:: called.
>

Try to install the AUTOLOAD sub and trace the calls:

use Carp;
sub AUTOLOAD{
Carp::cluck("trying to load $AUTOLOAD");
}

at least you will figure out where the sub is called from. It looks

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/