I agree the errors usually tell the story but for some reason the message hasn't been getting thru to me :)
Also, If I appear to know better, please don't let it fool you, I am new to perl (couple of weeks or so) but have worked in several other langs... sometimes I think that may actually be baggage for me ;-)
Anyhow, I had already tried the approach you mentioned, seemed natual. However, I got the following error:
$mailHTML->attach( Type =>'text/html; charset="iso-8859-1"',
Data => '<b>Brought to you now!</b>',
);
Can't locate object method "attach" via package "MIME::Lite::HTML" at
+mailhml.pl line 15.
So that's when I tried "scoping" the reference (terminology???) to get at the method I want.
Perhaps, your statement
This presupposes that the ::Lite extension does properly inherit, of course.
I guess I will go peruse the source. Any other thoughts?
Thanks
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.