On Fri, 4 May 2012 23:01:46 -0700 Jim Gibson <jimsgib...@gmail.com> wrote:
> > On May 4, 2012, at 12:31 PM, Manfred Lotz wrote: > > > > > Thanks to both (Uri) of you for your reply. > > > > I recognize that my example was bad. If I just would like to > > substitute stuff then of course a Template module would be best. > > > > But let us say I want to do calculations in a larger document. > > Perhaps define somes subroutines I could use later. > > > > I'm just looking into Mason, and wow, it seems to have quite some > > capabilities. So I will investigate this further. > > > > Consider the Text::Template module, which allows you to embed Perl > code in your document. I have used it for generating C++ code. > > It is interesting to see that these template modules do support perl code. I didn't know that. Was good I asked here. -- Thanks, Manfred -- -- Manfred -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/