I can manualy access each string that needs to be fixed by navigating the template structure, but that is somewhat fragile. Is there a better way of doing this?Use something like Template, and it becomes as easy as pie.
Or you could naviate your datastructure, since the structure seems well defined.
Or use look_down (and friends) to recurse through your $element, and do replacements where appropriate.
In reply to Re: How do I perform a global substitute in an HTML::Element
by PodMaster
in thread How do I perform a global substitute in an HTML::Element
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |