jason corbett wrote:
Here is where I am in the process:
I have MIME::Lite located on the server in a folder called /home/samcsm/jcorbett/myperl/lib
I use this simple script to test out emailing a query below and get the error stating that "cannot find MIME/Lite.pm' anywhere.
Now mind you I have MIME/Lite.pm installed in
/home/samcsm/jcorbett/myperl/lib/perl5/site_perl/MIME/Lite.pm
Can you tell me whats wrong?
#!/usr/bin/perl
use warnings;
use strict;
use DBI;
use MIME::Lite;
BEGIN{
unshift (@INC, '/home/samcsm/jason/myperl/lib/perl5/site_perl/MIME/Lite.pm');}
unshift (@INC, '/home/samcsm/jason/myperl/lib/perl5/site_perl/');}
or more simply
use lib '/home/samcsm/jason/myperl/lib/perl5/site_perl/';
use MIME::Lite;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>