DreamT has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Usually, when using a TT file in another TT file, the syntax could look as follows:
But, let's say that the included file isn't a physical file, but is stored in a variable:
Is it possible to PROCESS that variable and get the same result as if this was a physical file?
Usually, when using a TT file in another TT file, the syntax could look as follows:
[% PROCESS 'my_included_file.tt' %]
But, let's say that the included file isn't a physical file, but is stored in a variable:
[% SET template = fetch_template('my_parameter') %]
Is it possible to PROCESS that variable and get the same result as if this was a physical file?
[% PROCESS template???? %]
Back to
Seekers of Perl Wisdom