<snip>

that seems somewhat complicated - you could use a regex in the while 
loop, as in:

while ($text =~ /<TMPL_/) { ... }

instead of using a loop variable or breaking out of the loop.  In 
particular it would save you having to do any string comparisons and 
would avoid the extra loop iteration.

Mathew Robertson


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to