You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Barry Veinotte <ba...@veinotte.com> on 2000/12/28 19:43:58 UTC

Undefined subroutine

Hi folks,

I am trying to get a program to run under mod_perl using Apache::Registry
and am getting the following error:

Undefined subroutine &Apache::ROOT::cgi_2dbin::ads1::ads_2epl::handler
called at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Registry.pm line 135.

I am working with Red Hat Linux  6.2

I am totally new to this, and have no idea what this error is telling me.
If someone could point me in the right direction I would greatly appreciate it.

Thanks,
Barry



Re: Undefined subroutine

Posted by ___cliff rayman___ <cl...@genwax.com>.
it's telling you to search the guide at:
http://perl.apache.org/guide/

check out in particular:
http://thingy.kcilink.com/modperlguide/troubleshooting/Undefined_subroutine_Apache_RO.html

Barry Veinotte wrote:

>
>
> Undefined subroutine &Apache::ROOT::cgi_2dbin::ads1::ads_2epl::handler
> called at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Registry.pm line 135.
>

--
___cliff rayman___cliff@genwax.com___http://www.genwax.com/



RE: Undefined subroutine

Posted by Barry Veinotte <ba...@veinotte.com>.
I may have found the answer.... 
http://perl.apache.org/dist/cgi_to_mod_perl.html
the perl version is 5.003 and from what I have read
in the guide 5.003 and mod_perl don't make life easy
for cgi scripts. 

Would my problems be taken care of if Perl were 
upgraded to 5.004 ? Is there any hope of getting things
running properly with 5.003?

Barry


> -----Original Message-----
> From: Barry Veinotte [mailto:barry@veinotte.com]
> Sent: Thursday, December 28, 2000 2:44 PM
> To: modperl@apache.org
> Subject: Undefined subroutine
> 
> 
> Hi folks,
> 
> I am trying to get a program to run under mod_perl using Apache::Registry
> and am getting the following error:
> 
> Undefined subroutine &Apache::ROOT::cgi_2dbin::ads1::ads_2epl::handler
> called at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Registry.pm line 135.
> 
> I am working with Red Hat Linux  6.2
> 
> I am totally new to this, and have no idea what this error is telling me.
> If someone could point me in the right direction I would greatly appreciate it.
> 
> Thanks,
> Barry
> 
> 
>