works from the command line, but when I run the cgi
script on apache, I get the following message in
STDERR:

Can't locate HTML/Newsletter.pm in @INC (@INC
contains: /home/ettinger/modules
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl .) at
/home/virtual/domain.com/www/cgi-bin/mailer.cgi line
5.
BEGIN failed--compilation aborted at
/home/virtual/domain.com/www/cgi-bin/mailer.cgi line
5.
[Thu Jul 24 15:59:30 2003] [error] [client
64.186.173.137] Premature end of script headers:
/home/virtual/domain.com/www/cgi-bin/mailer.cgi


At the top of my script I have:

use lib "/home/ettinger/modules";
use HTML::Newsletter;

works fine if I execute the script from the command
line, but not in web server environment.

any ideas?

=====
Anthony Ettinger
[EMAIL PROTECTED]
http://www.apwebdesign.com
Instant Messengers:
1) yahoo im: apwebdesign   2) aol im: apwebdesignxl
3) msn im: [EMAIL PROTECTED]   4) icq im: 659139

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to