Just out of curiosity ... why are you doing this rather than using an existing templating mechanism, such as HTML::Template or Template?
If it's because you're using XML, then I would suggest using XML::Twig to parse it, and using its XPath-like language to find attributes with %'s in it, and then you can update those. Or I'd use one of the above template modules to create the XML from the template.
In reply to Re: passing user form input value to %placeholder%
by Tanktalus
in thread passing user form input value to %placeholder%
by rick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |