note
Discipulus
<I>> Is this a valid approach? </I><P>
as already said it will be valid for a small, not often changed project. But since Perl 5.26 at least you can indent your heredocs: see [href://http://search.cpan.org/~xsawyerx/perl-5.26.0/pod/perldelta.pod#Indented_Here-documents|Indented_Here-documents] in perldelta.<P>
A template system is something good to have in your bag of tools: recently in an interesting, similar thread [METAMOD://Text::Xslate] was suggested as terribly fast compared to the classical [METAMOD://Template::Toolkit] see [id://1191823]<P>
<c>
</c><P>
L*<P>
<div class="pmsig"><div class="pmsig-174111">
There are no rules, there are no thumbs..<BR>
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
</div></div><!-- Wiki2Monks {"version":1.1416} -->
1193216
1193216