Whichever one you used to install Mail::Internet.
Or conversely, you need to install Mail::Internet using for whichever perl you want to use.
| [reply] |
What does perl -V says? and which perl ?
[]s, HTH, Massa (κς,πμ,πλ)
| [reply] [d/l] [select] |
Perl v5.8.8 for x86_64-linux-thread-multi, /usr/bin/perl
I downloaded Mail::Internet from CPAN
| [reply] |
Let's try a slightly different approach. Where is Mail/Internet.pm located ? (Full path please.) It needs to be in one of those @INC directories you listed in your first post - and you'd expect it to be in one of the "site_perl" directories. Perhaps:
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Mail/Internet.pm
or
/usr/lib/perl5/site_perl/5.8.8/Mail/Internet.pm
or
/usr/lib/perl5/site_perl/Mail/Internet.pm
If it *is* to be found in one of those @INC directories, then look closely at Internet.pm's permissions (eg compare them to the permissions associated with other pm files that you *can* load successfully). Not that I necessarily believe it, but I have seen it claimed that "wrong permissions" can cause the error you are seeing - though, if that were the case, I would expect 'perl -MMail::Internet' to fail similarly.
Anyway, give us a copy'n'paste of the full path to Internet.pm, and we'll see where that leads. (If you can't find it, just re-install the module and the 'make install' output will tell you where it's being placed.)
Cheers, Rob
| [reply] |