I use Template Toolkit 2 version 2.25 in combination with Multimarkdown with the following bits from cpan. Documentation for TT2 is http://www.template-toolkit.org/docs/

perl5/site_perl/5.12.4/Template/Plugin/MultiMarkdown.pm perl5/site_perl/5.12.4/Text/MultiMarkdown.pm perl5/site_perl/5.12.4/Text/Markdown.pm

Template Toolkit in essence implements a new interpreted language.

In actual use there are two calls:

... other use statements [% USE MultiMarkdown %] ... more template [% FILTER multimarkdown %] markdown stuff goes here [% END %]

MultiMarkdown has had 3 major releases, and I think aleph-null minor ones. The current release is a C compiled PEG grammar version 3.5.

I would like to replace the filtering presently happening in Text::MultiMarkdown with input and output to /usr/local/bin/multimarkdown, but I haven't a clue how to go about this.

I looked in the categorized examples and on CPAN. So far I've found references to open2 and open3, to 284 references on CPAN that ahve IPC:: as part of their name.

It would seem to me that there is much re-inventing of this wheel, and this lowly novice is so unskilled that he not only does not know which is the better wheel, but does not even know how to attach the wheel to his oxcart.

Please, learned masters, attempt this one's enlightenment.


In reply to Replacing perl module with external program by sgbotsford

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.