Question:

I have a code error need help with.?

by  |  earlier

0 LIKES UnLike

Software error:

Can't locate MIME/Lite.pm in @INC (@INC contains: perlmodule C:/Perl/lib C:/Perl/site/lib .) at E:\0\0\45\41\45204\user\46078\htdocs\res... line 7.

BEGIN failed--compilation aborted at E:\0\0\45\41\45204\user\46078\htdocs\res... line 7.

For help, please send mail to this site's webmaster, giving this error message and the time and date

The file MIME.PM IS IN THE PERLMODULE FOLDER...HERE IS THE CODE ITSELF. sorry for caps.

#!/usr/bin/perl -w

use strict;

use CGI;

use CGI::Carp qw( fatalsToBrowser);

use lib "perlmodule";

use MIME::Lite;

my $q = new CGI;

my %cgi;

for ($q->param) { $cgi{$_} = $q->param($_); }

my @error;

print $q->header();

print qq(<script language="javascript" src="calendar.js"></script>);

if($q->param('page') eq "second" ) {

my $output = check_error();

if ($output) {

do_error_page($output);

} else {

do_second_page();

}

..................................

Its messed up.

 Tags:

   Report

1 ANSWERS


  1. try commenting out the line:

    use MIME::Lite;

    perl can&#039;t find that file.  You&#039;ll need to move it to the dir &#039;C:/Perl/lib&#039;.  If you want to use functions associated with it.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.