Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: How can I replace a line (tag) in an XML file?

by AlexTape (Monk)
on Sep 29, 2011 at 10:52 UTC ( #928516=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How can I replace a line (tag) in an XML file?
in thread How can I replace a line (tag) in an XML file?

im sorry - sunken in my own projects i should probably post full storys ;-)

sub load{return%{XML::Simple->new(ForceContent=>1)->XMLin($_[0])};}#lo +ads xml sub save{XMLout($_[1],OutputFile=>$_[0]);1;}#saves hash to xml
but your still mostly right.. for me it works fine..
$perlig =~ s/pec/cep/g if 'errors expected';


Comment on Re^3: How can I replace a line (tag) in an XML file?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928516]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-08-30 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls