Keep It Simple, Stupid | |
PerlMonks |
Re: Email::Simple doing something i'm not expecting??by benizi (Hermit) |
on Sep 04, 2004 at 19:15 UTC ( [id://388524]=note: print w/replies, xml ) | Need Help?? |
The problem is with HTML::Stripper. It's designed to accept multiple chunks of HTML to produce its final output. (The only hint in the docs to this effect is [emphasis mine]: "Now that we have our stripper object (wow!), we use it on one or more chunks of HTML using the strip_html() method"). If you move the creation of the HTML::Stripper object into your $msg loop, it should work as intended.
In Section
Seekers of Perl Wisdom
|
|