John Michael wrote:
I'm getting this error while trying to start apache with my perl startup file.

I doubt this has anything to do with mod_perl, try to run the same under mod_cgi. Looks like CGI::Carp has a bug redefining Carp. I think Lincoln has mentioned that he revamped that code and he posted CGI.pm-3.01a2 a few days ago to this list. Give it a try and report back any problems to him.


######################

String found where operator expected at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 373, near 
"carp "stat($start): $!""
        (Do you need to predeclare carp?)
String found where operator expected at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 384, near 
"carp "opendir($dotdots): $!""
        (Do you need to predeclare carp?)
String found where operator expected at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 389, near 
"carp "stat($dotdots): $!""
        (Do you need to predeclare carp?)
String found where operator expected at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 403, near 
"carp "readdir($dotdots): $!""
        (Do you need to predeclare carp?)
String found where operator expected at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 428, near 
"croak "Cannot chdir to $path: $!""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 431, near 
"croak "Cannot chdir back to $cwd: $!""
        (Do you need to predeclare croak?)
[Fri Nov 07 22:17:33 2003] [error] syntax error at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 373, near "carp "stat($start): $!""!syntax error at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 384, near "carp "opendir($dotdots): $!""!syntax error at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 389, near 
"carp "stat($dotdots): $!""!syntax error at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 403, near "carp "readdir($dotdots): $!""!syntax error at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 428, near "croak "Cannot chdir to $path: $!""!syntax error at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 431, near 
"croak "Cannot chdir back to $cwd: $!""!BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm line 515.!Compilation failed in require at 
/usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 8.!BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/File/Spec/U
nix.pm line 8.!Compilation failed in require at /usr/lib/perl5/5.8.0/File/Spec.pm line 20.!Compilation failed in require at /usr/lib/perl5/5.8.0/CGI//Carp.pm line 266.!BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CGI//Carp.pm line 266.!Compilation failed in require at /usr/lib/perl5/5.8.0/CGI.pm line 3.!BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CGI.pm line 3.!Compilation failed in require at /etc/httpd/conf/perl/startup.pl line 25.!BEGIN failed--compilation aborted at /etc/httpd/conf/perl/startup.pl line 25.!Compilation failed in require at (eval 1) line 1.!
#####################




__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to