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_
Ah thank you, I've fixed that.
Using either of the two other lines results in the error: [error] Can't locate # in @INC ...
What's that all about?
Please post a short test example and a full error message as a part of a proper bug report as explained here:
http://perl.apache.org/bugs/
Thanks.
__________________________________________________________________ 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