Nickd_69 has asked for the wisdom of the Perl Monks concerning the following question:
Software error:
[Fri Aug 22 09:53:15 2003] enquiry02.pl:
Can't locate Mail/Mailer/close.pm in @INC
(@INC contains:
/usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
)
at (eval 5) line 3.
#!/usr/bin/perl -w use strict; use CGI; use CGI::Carp qw(fatalsToBrowser); use Mail::Mailer (qw/close/); my $query = CGI->new(); my @param = qw( Title Name Position School Address Suburb State PCode Email Tel Fax Comments ); my $mailer = Mail::Mailer->new; $mailer->open({ To => 'test@tester.com, From => 'tester', Subject => 'results of submit', }); $mailer = $query->param('Title'); $mailer = $query->param('Name'); $mailer = $query->param('Position'); $mailer = $query->param('School'); $mailer = $query->param('Address'); $mailer = $query->param('Suburb'); $mailer = $query->param('State'); $mailer = $query->param('PCode'); $mailer = $query->param('Email'); $mailer = $query->param('Tel'); $mailer = $query->param('Fax'); $mailer = $query->param('Comments'); $mailer->close; print $query->redirect('http://www.travancoresch.vic.edu.au/developmen +t/reply02.html');
edited by ybiC: HTML-encode square brackets in error message
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Software Error: Close.pm
by bobn (Chaplain) on Aug 22, 2003 at 00:21 UTC | |
by Nickd_69 (Novice) on Aug 22, 2003 at 00:51 UTC | |
by bobn (Chaplain) on Aug 22, 2003 at 02:39 UTC | |
by Nickd_69 (Novice) on Aug 22, 2003 at 04:32 UTC | |
by bobn (Chaplain) on Aug 22, 2003 at 04:49 UTC |