Simple modification of Markdown.pl to use as a perl module