Padre IDE is complaining that:
Can't locate Email/Send/SMTP/Gmail.pm in @INC (@INC contains: C:\Users\me\mymodule C:/Dwimperl/perl/site/lib C:/Dwimperl/perl/vendor/lib C:/Dwimperl/perl/lib .) at myscript.pl line 21.
But Email::Send::SMTP::Gmail
module is installed because in command prompt when I run cpan Email::Send::SMTP::Gmail
I get the following message:
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: Term::ANSIColor loaded ok (v4.06)
CPAN: Storable loaded ok (v2.56_01)
Reading 'C:\Perl64\cpan\Metadata'
Database was generated on Sun, 21 May 2017 04:17:02 GMT
CPAN: Module::CoreList loaded ok (v5.20170114_24)
Email::Send::SMTP::Gmail is up to date (1.06).
What the heck is going wrong? Note in Padre when I go to Tools->Module Tools->Open CPAN Config File
I get the error dialog popup:
Failed to find your CPAN configuration
Could this be part of the problem? I have searched the Padre help for cpan configuration
but no results came up.
Any advice would be extremely helpful.
You appear to have two installations of Perl, one in
C:\Dwimperl
, and one inC:\Perl64
. You are installing the module for the one inC:\Perl64
, but you are using the one inC:\Dwimperl
. Use thecpan
that comes with theperl
you wish to use.