kafkaf55 has asked for the wisdom of the Perl Monks concerning the following question:

I am currently running with Perl 5.8.8 on a AIX 5.3 server. I issued the perl -V and part of the info is as follows:
<@INC:>
</usr/opt/perl5/lib/5.8.8/aix-thread-multi>
</usr/opt/perl5/lib/5.8.8>
</usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi>
</usr/opt/perl5/lib/site_perl/5.8.8>
</usr/opt/perl5/lib/site_perl>

My first time in trying to setup a mail request within Perl using Mail::Mailer, I receive the following message:

Can't locate Mail/Mailer.pm in @INC (@INC contains: /usr/opt/perl5/lib/5.8.8/aix-thread-multi /usr/opt/perl5/lib/5.8.8 /usr/op t/perl5/lib/site_perl/5.8.8/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.8 /usr/opt/perl5/lib/site_perl .) at ./emailit.p l line 12.

I have researched around the web and here, but not sure what the problem is and how to fix it. I am a beginner and need assistance in understanding and fixing the problem. Thank you, Ken

Replies are listed 'Best First'.
Re: Failed Mail::Mailer on AIX 5.3
by marto (Cardinal) on Mar 16, 2010 at 14:24 UTC

    Have you installed the Mail::Mailer module? See Installing Modules from the tutorials section of this site. Also of note is the README file (which contains installation instructions):

    "These modules are very old (partially written before MIME!). If you start to write a new e-mail application, consider to use MailBox instead (http://perl.overmeer.net/mailbox/) It is a little harder to learn, but at least implements all RFCs correctly. "

Re: Failed Mail::Mailer on AIX 5.3
by Corion (Patriarch) on Mar 16, 2010 at 14:24 UTC

    It seems that Mail::Mailer is not installed on your system. At least, perl could not find a file Mail/Mailer.pm in the listed directories. Did you install Mail::Mailer, and if so, how?

      No, I did not install it. Perl came as part of the installation of AIX. If this is the mailer for AIX, how do I go about installling the package?
      Ken

        See A Guide to Installing Modules and the README of the distribution. Alternatively, ask your system administrator to either install the module for you or to tell you what mechanism for sending mails to use.