perl-doc-cats/perlfaq — pull request #30 by madsen (2012-02-13 20:12:50+00:00)
Title: Email::MIME requires encoding & charset

The "How do I send email?" example does not work as written. You get the error "body_str was given, but no charset is defined at /usr/local/share/perl/5.10.1/Email/MIME.pm line 243". See [this question](http://stackoverflow.com/q/9254986/8355) on Stack Overflow.

Also, an email body should normally end with a newline.

This change was applied to the learn.perl.org example in perlorg/perlweb#35.