So I'm working on a script that incorporates processing of a template and substituting tags with other data. The problem is that none of the template modules I can find involve callbacks - what I want is a function where I can feed in the template plus a function reference. The custom function would simply return the substituted text after arbitrary processing.

Anyone know of something like this?

In reply to Callbacks and templates. by LukeyBoy

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