On 05/04/2012 02:16 PM, Manfred Lotz wrote:
Hi there,
I'm looking for a Perl preprocessor which should roughly be able to
work like this:
In a document I have begin and end markers, say ## for both. Between
those end markers there is perl code which should be run and everything
which goes to stdout should go into the document.
this is a template system and nothing more. perl has a zillion
templaters on cpan. check mine out as it will do what you want.
Template::Simple.
The code should be lexical in a way that later code could refer to
previous code.
you don't want to do this. it is backwards. you make a template with
markups where you want to insert data and then render it with the data
and you get the finished text.
uri
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/