Sendmail.pm should be at:
/opt/MIMperl5/lib/5.00503/sun4-solaris/Mail/Sendmail.pm
The Mail:: prefix translates into a directory, hence the message:
Can't locate Mail/Sendmail.pm in @INC
- Johnathan
Nilesh wrote:
I have download Sendmail module and installed.
I also copied Sendmail.pm in my lib path
as follows:
/opt/MIMperl5/lib/5.00503/sun4-solaris/ops.pm
/opt/MIMperl5/lib/5.00503/sun4-solaris/re.pm
/opt/MIMperl5/lib/5.00503/sun4-solaris/Sendmail.pm
/opt/MIMperl5/lib/5.00503/vars.pm
/opt/MIMperl5/lib/5.00503/Sendmail.pm
Now when i run my script,i still get
[usr@server] perl [28]./mail.pl
Can't locate Mail/Sendmail.pm in @INC (@INC contains:
/opt/MIMperl5/lib/5.00503/sun4-solaris /opt/MIMperl5/lib/5.00503
/opt/MIMperl5/lib/site_perl/5.005/sun4-solaris
/opt/MIMperl5/lib/site_perl/5.005 .) at ./mail.pl line 2.
BEGIN failed--compilation aborted at ./mail.pl line 2.
[usr@server] perl [29]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]