On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: > Harold Martin wrote: > > Hello, > > When I try to start up Apache, I get the error: > > [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, > > near "compile qw(:common)" > > Compilation failed in require at /etc/httpd/promp3/promp3.handler.pl > > line 6. > > BEGIN failed--compilation aborted at /etc/httpd/promp3/promp3.handler.pl > > line 6. > > Compilation failed in require at (eval 1) line 1. > > > > ProMP3.pm's has: > > use Apache2 (); > > use Apache::compat; > > use Apache::ServerUtil (); > > use strict; > > use vars qw($VERSION); > > use DBI; > > use Apache::Const -compile qw(:common); > > where did you find an example of this? > > It should be: > > use Apache::Const -compile => qw(:common); > > or: > > use Apache::Const -compile, qw(:common);
The form I used is from the Apache::Const page http://perl.apache.org/docs/2.0/api/Apache/Const.html#C__common_ Using either of the two other lines results in the error: [error] Can't locate # in @INC ... What's that all about? Thanks, Harold
signature.asc
Description: This is a digitally signed message part