Quoting Bryan Coon <[EMAIL PROTECTED]>:
> Each cgi simply calls 'use global;' and then off we go. However, after
> moving all this stuff into /perl, none of the subs in the custom .pl
> files
> are found, I get a complaint:
> Undefined Subroutine &Apache::ROOT::compar_2ecgi::checkUser called at
> Heres what I did:
> I had many scripts in one dir that shared many things; subroutines, global
> variables and modules. I wanted to clean things up, so I created a module
> called global.pm structured like this:
> The custom stuff scripts all end in 1;, and are loaded with my custom
> subrou
n Coon [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 6:01 PM
> To: '[EMAIL PROTECTED]'
> Subject: Porting CGI scripts help needed
>
>
> Hi,
>
> I have (happily) compiled and configured Apache with
> mod_perl, mod_ssl,
> mod_php and DSO. Whee!
>
Hi,
I have (happily) compiled and configured Apache with mod_perl, mod_ssl,
mod_php and DSO. Whee!
Now I am working on porting my scripts over...
I have always used strict and perl -w, so for the most part, I think I can
just pop my cgis in the /perl directory as Ive defined it in httpd.conf.