You should post the code in question. Your message isn't very clear but if 
I was to guess, you're trying to run a regular ol' command line Perl script 
under Apache::Registry which has more than a few caveats.

--Jeff

At 04:00 PM 5/3/00, Franco Finstad wrote:
>I have a large modperl site with modperl (CGI) scripts and command-line perl
>scripts.
>
>My command line scripts load modules (.pm files) that use Apache::exit().
>This is giving me the following errors:
>
>**************************
>Bareword "Apache::exit" not allowed while "strict subs" in use at
>as/mod/Util.pm
>  line 546
>**************************
>
>So, how can I get the command-line scripts to run under Apache::Registry?
>Adding 'use Apache;' to my command-line scripts obviously doesn't help.
>
>Any help is greatly appreciated.
>
>Here's my set up.
>modperl 1.21
>Apache 1.36
>Solaris 2.7



Jeff Beard
_____________________________________________
Web:            www.cyberxape.com
Email:          jeff at cyberxape.com
Location:       Boulder, CO, USA



Reply via email to