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?
i´m sorry - sunken in my own projects i should probably post full storys ;-)
but your still mostly right.. for me it works fine..sub load{return%{XML::Simple->new(ForceContent=>1)->XMLin($_[0])};}#lo +ads xml sub save{XMLout($_[1],OutputFile=>$_[0]);1;}#saves hash to xml
$perlig =~ s/pec/cep/g if 'errors expected';
|
---|
In Section
Seekers of Perl Wisdom