Re: [htmltmpl] Nested templates

2009-11-24 Thread Mathew Robertson
that seems somewhat complicated - you could use a regex in the while loop, as in: while ($text =~ /http://p.sf.net/sfu/bobj-july ___ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinf

[htmltmpl] Nested templates

2009-11-24 Thread Brad Baxter
Hi all, I once tried to implement nested templates with HTML::Template. Below is an example of what I came up with: 1 #!/usr/local/bin/perl 2 3 use strict; 4 use warnings; 5 use HTML::Template; 6 7 my $text = <<__; 8 This is a bird. 9 This is a