John,
A number of good suggestions came by regarding this. Here's mine, use
the following in place of your cgi-bin.pl include...
use CGI qw(:cgi-lib :standard -debug);
This will allow you to use CGI.pm and have it default to the cgi-lib
commands you're used to. The "-debug" statement will allow you to run
your scripts via command line and enter in the "variable=value" pairs
that you would normally send via html form.
Good luck and I hope this helps,
Ron
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