Thanks Ken,

I hadn't realise that MIME::Base64 was core!

What I had done was to SSL onto the server and type

perl -e "use MIME::Base64"
This told me it couldn't find it which is why I tried to install it got the error that it needed access to the compiler. I did the same thing with Authen::SASL but that installed fine.

Having found it is core I have checked again and found that MIME::Base64 is there. I guess I must have put in a typo :(

So now I have a different issue to resolve...

Niether of these throw an error:

perl -e "use MIME::Base64" perl -e "use Authen::SASL"
Yet, when I try to use MIME::Lite in SMTP mode I get the error:
SMTP auth() command failed: No such file or directory Need MIME::Base64 and Authen::SASL todo auth

UPDATE:
Solved the error - it's a quirk of cPanel that I need to use cPanelUserConfig; to add all the correct paths to @INC when I've installed modules. Authen::SASL in this case.


In reply to Re^2: Replacing a module dependency by Bod
in thread Replacing a module dependency by Bod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.