Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Trouble in text manipulation

by murugu (Curate)
on Aug 05, 2010 at 11:15 UTC ( #853107=note: print w/replies, xml ) Need Help??


in reply to Trouble in text manipulation

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,
Murugesan Kandasamy
use perl for(;;);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853107]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-12-07 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.