Rather than go into the details, it's probably best that you use 
Apache::PerlRun in place of Apache::Registry. cgi-lib.pl is an old Perl 4 
library, if you are using new Perl 5 features like OO, modularity, and want 
to take the MOST advantage of mod_perl, use CGI.pm instead.

CGI.pm also has a backwards compatible mode for cgi-lib.pl scripts.

Also please read the mod_perl guide. http://perl.apache.org/guide/


At 01:03 AM 7/24/2001 -0500, John Buwa wrote:
>Hello,
>
>I have a huge system i wrote using the cgi-lib.pl as its core. I attempted 
>to integrate mod-perl with my system and all my cgi-lib.pl which are used 
>via a require in all scripts returns errors. My dont work, if they do the 
>act very strange and unacceptable.
>
>My question is how do i use cgi-lib.pl and mod-perl together? Is anyone 
>doing this? How can it be done.
>
>Here is a common error in my log:
>
>[Mon Jul 23 05:38:06 2001] [error] Undefined subroutine
>&Apache::ROOTwww_2emy_2ddomain_2ecom::cgi_2dbin::pads::welcome_2epl::ReadPar
>se called at /driveb/usr/web/webroot/cgi-bin/pads/welcome.pl line 7.
>
>
>Any info would be appreciated!
>
>John

__________________________________________________
Gunther Birznieks ([EMAIL PROTECTED])
eXtropia - The Open Web Technology Company
http://www.eXtropia.com/

Reply via email to