> In my original I had
>
> $text =~ s/($match)/$img$1/ig;

You know, I would just stick with that.  Instead of defining $img in your
code, get it by running a small template.  Then do the replace in your
perl code, passing the result to your larger TT template.  No need to
break something that is working for you.
- Perrin



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to