Syntactic Confectionery Delight | |
PerlMonks |
Re: Trouble in text manipulationby murugu (Curate) |
on Aug 05, 2010 at 11:15 UTC ( [id://853107]=note: print w/replies, xml ) | Need Help?? |
Thirilog,
From the input(a.xml) it seems that you are handling XML file. Its better to use XML modules to fiddle with XML rather than with regular expressions. Kindly take a look at XML::Twig. You can use XPATH expressions to access the elements/attributes as you wish. Regards,
In Section
Seekers of Perl Wisdom
|
|