I'd suggest installing XML::Twig and reading the docs. There are examples that show how to step through a document chunk by chunk editing as you go along.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: To replace the occurence string in perl
by roboticus
in thread To replace the occurence string in perl
by codewalker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |