modperl-determining_what_undefined_sub_was_called

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: Vladislav Safronov <vlads@comptek.ru>
From: Stas Bekman <stas@stason.org>
Subject: Re: Strange mod_perl error. Help needed!
Date: Tue, 17 Apr 2001 16:34:30 -0700 (PDT)

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

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu