Joe Johnston wrote: > I'm using Template Toolkit 2.08 (very cool system) and > I'd like to count the occurrences of a pattern in a string. > In Perl, I can do this a number of ways
Then why don't you use perl? Calculate the answer in perl before you run the template, or make a plugin (or just pass a ref to a subroutine) that does what you want. TT is not meant to replace perl. - Perrin _______________________________________________ templates mailing list [EMAIL PROTECTED] http://www.template-toolkit.org/mailman/listinfo/templates
