[San-Diego-pm] Mason

Dirk2 Dirk at finches.com
Thu Jul 29 11:28:34 CDT 2004


Perl Mongers,


	I'm trying to use the Mason module.  I went to CPAN and loaded it, and
it seemed to load OK- installed without errors, and it's here:

/usr/lib/perl5/site_perl/5.8.0/HTML/Mason.pm
	
But now my script can't find it. 
Here's the httpd error entries from log:





[Thu Jul 29 12:11:11 2004] [error] [client 127.0.0.1] Premature end of
script headers: mason.pl

[Thu Jul 29 12:11:11 2004] [error] [client 127.0.0.1] Can't locate
HTML/Mason.pm in @INC 

(@INC contains: 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/5.8.0 
.) 

at /var/www/cgi-bin/mason.pl line 5.


[Thu Jul 29 12:11:11 2004] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at /var/www/cgi-bin/mason.pl line 5. 





More information about the San-Diego-pm mailing list