use warnings; use strict; use HTML::FromText; print text2html ('This is some HTML') . "\n"; __END__ <b>This is some HTML</b>