Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Active Perl 5.16 email code problem"

by mike_gerard (Novice)
on Jul 20, 2013 at 17:07 UTC ( #1045453=perlquestion: print w/ replies, xml ) Need Help??
mike_gerard has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to update ActivePerl from 5.14 to 5.16. All is installed and I have used the new PPM to load the various modules, including Mail::Sender and Net::SMTP_auth. However, trying to use either of these fails to find the module!

Can't locate Mail/Sender.pm in @INC ....

Can't locate Net/SMTP_auth.pm in @INC ....

All other modules that I use seem to be OK!

Comment on Active Perl 5.16 email code problem"
Re: Active Perl 5.16 email code problem"
by kennethk (Monsignor) on Jul 20, 2013 at 20:19 UTC
    I just installed those packages via PPM for Perl 5.16.2, MSWin32-x86-multi-thread by ActiveState. No troubles. Are you sure you are using the correct perl (either via command line or as specified in your IDE) and that you used the PPM associated w/ your Perl 5.16 install?

    #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

      I have used the correct new PPM, which appears to install the relevant packages. However, it does not seem to put them in the site/lib folder, so I have no idea where they have been put!

      I will remove then reinstall 5.16

        I have multiple versions of Perl installed on my machine; rather than installing them on the default path, I usually qualify based on version (e.g. C:\Perl-5.16). That allows for the most fluid transition from one version to another, as well as letting me easily check what's installed.

        If PPM didn't put your libraries in the site/lib folder, might I suggest doing a file search for SMTP_auth.pm (pretty unique name) to figure out where it did install them?


        #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

      It put them in a new directory TEMP/---Perl-please-run-the-install-script---

      I found someone having a similar problem, but who appeared to want to update the version in a slightly non-standard way. For him, everything went right after he ran the batch process install.bat. However, I can find no related install.bat anywhere!

      I could probably move these files manually, but that is not a satisfactory answer

      Although the 5.16 documentation is ambiguous (it is headed as 5.16 but then refers to an upgrade from earlier versions to 5.14!!!), I suspect that it might require removing the previous version 5.14 before installing 5.16!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1045453]
Approved by Happy-the-monk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-07-11 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls