Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2017-03-29 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.