you can do this with a filter:
my $match = qr/(<[Tt][Mm][Pp][Ll]_[^>]+)\/>/;
my $filter = sub {
my $text_ref = shift;
$$text_ref =~ s/$match/$1>/g;
};
$match is the regex used to find <TMPL_xxx ... /> tags.
Then instantiate H::T with the 'filter' option.
Hope this helps,
Mathew
Chris Beck wrote:
Hey all,
Is there any way I could request that XHTML style <tmpl_var name="blah" /> also
be valid?
Cheers,
Chris
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users