shambright has asked for the wisdom of the Perl Monks concerning the following question:
From the COMMAND LINE, I get hello. But from APACHE, I get,#!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); use HTML::Parser; print("Content-type: text/html\n\n"); print "hello.\n"; exit(0);
The problem is with Apache not reading Parser.pm, but why??? I have NO PROBLEMS with other scripts. Just this one that needs Parser.pm[Wed Oct 10 12:13:00 2001] Parser.pm: [Wed Oct 10 12:13:00 2001] DynaL +oader.pm: Can't locate loadable object for module HTML::Parser in @IN +C (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 +/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) + at /www/mywebsite/htdocs/test.pl line 5 BEGIN failed--compilation ab +orted at /www/mywebsite/htdocs/test.pl line 5.
Parser.pm is version 3.25 - I tried finding an older version on CPAN with no luck
Please help!!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module Installation Troubles
by runrig (Abbot) on Oct 10, 2001 at 21:45 UTC | |
|
Re: Module Installation Troubles
by perrin (Chancellor) on Oct 10, 2001 at 22:13 UTC | |
by shambright (Beadle) on Oct 10, 2001 at 22:58 UTC | |
by runrig (Abbot) on Oct 11, 2001 at 21:00 UTC |