Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
[Discipulus]: he eh latinos superstitious peoples..
[Discipulus]: here at my $work fuc**ing bas**ds proposed to everyone 20 free month of pay to leave
[Discipulus]: I expect a cut of 20% of emplyoment nexet year..

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2018-05-23 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?