Thanks haukex - it turns out MIME::Base64 is there so perhaps all the overrides are not needed. See Re^2: Replacing a module dependency

I actually think your suggestion of making a new module that inherits from MIME::Lite to be more elegant than that!

That's very nice to hear - thanks

However, note in general you probably want to consider switching to one of the newer Email::* modules...

Some time ago I suggested changing away from MIME::Lite and someone more knowledgable than I (hippo I think but I'm not certain and I cannot find the node) suggested that for my needs, it was a suitable choice. The code this is used in is relatively new (less than one year) so perhaps future code should start using an alternative...

UPDATE:
It was Corion here -> Re^3: printing output of a perl script to the Email body


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.