Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If you're reading that line by line, you can't easily back up to make the replacement. If you slurp the input, you need to save multiple matches for "affiliation" tags in a data structure and make another pass. If your input is valid XML, then one of the XML modules may be the best approach. After Compline, In reply to Re: find and replace
by Zaxo
|
|