in reply to Re: CGI::Carp and Mail::SendEasy do not work
in thread CGI::Carp and Mail::SendEasy do not work

I ran the script directly through perl and found that it seem that I may be missing a lib file Mail/SendEasy.pm to associate Mail/SendEasy function in perl. Here's my error log.

C:\inetpub\wwwroot\site\cgi-bin>perl test.pl Status: 500 Content-type: text/html <h1>Software error:</h1> <pre>Can't locate Mail/SendEasy.pm in @INC (@INC contains: C:/Perl/sit +e/lib C:/P erl/lib .) at crf2.pl line 8. BEGIN failed--compilation aborted at crf2.pl line 8. </pre> <p> For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. </p> [Thu Jun 12 12:24:56 2014] crf2.pl: Can't locate Mail/SendEasy.pm in @ +INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at crf2.pl line 8. [Thu Jun 12 12:24:56 2014] crf2.pl: BEGIN failed--compilation aborted +at crf2.pl line 8.
Any ideas what version of perl I should look into or another way to get the Mail/SendEasy.pm file?

Replies are listed 'Best First'.
Re^3: CGI::Carp and Mail::SendEasy do not work
by Corion (Patriarch) on Jun 13, 2014 at 13:31 UTC

    Most likely, you can install it from CPAN at Mail::SendEasy, using the cpan tool that comes with your Perl.

      I have installed the Mail::SendEasy module and it seems to be the fix. Thanks all for the assistance for resolving this issue.
Re^3: CGI::Carp and Mail::SendEasy do not work
by DrHyde (Prior) on Jun 13, 2014 at 13:40 UTC
    You need to install the module from the CPAN then. On Unix you'd type 'cpan Mail::SendEasy'. No idea how you'd do that on Windows.
      Exactly the same way on Windows as on Unix.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics
        I thought there was something different if you used Activestate.
      I found you can extract the Mail folder out of the tar.gz using WinRAR and make sure it is in the perl\lib\ location.
        While that might work for this module and many others it will *not* work in the general case.

      "No idea how you'd do that on Windows."

      The same way.