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);
__________________________________________________________________ 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