tag 356143 help thanks On Thu, Mar 09, 2006 at 06:43:47PM -0500, Joey Hess wrote: > With very little work, markdown could be turned into a proper perl > library. I don't want to fork perl and interpret the whole program every > time my program needs to render a page. > > My current hack for using /usr/bin/markdown as a perl library is this: > > BEGIN { > $blosxom::version="is a proper perl module too much to ask?"; > do "/usr/bin/markdown"; > } > > Markdown::Markdown($text);
[I don't know much Perl, so I hope you'll bear with me.] You're suggesting that I create a module under /usr/lib/perl somewhere with the above code? What should I call it? Where should it go? What else should I ask? -- Matt
signature.asc
Description: Digital signature