Just another Perl shrine | |
PerlMonks |
Re: Perl RE; how to capture, and replace based on a block?by GrandFather (Saint) |
on Dec 18, 2013 at 00:23 UTC ( [id://1067555]=note: print w/replies, xml ) | Need Help?? |
Don't do that. As a general thing correctly parsing and editing XML is tricky. Use a module such as XML::Twig to do the hard work for you. If you'd provided sample code, input data and expected output most likely someone would show you how to use an appropriate module to do the job.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|