Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I failed to modify a value of XML using the perl command line. E.g: perl -pi.orig -e "s/<id>0<\/id>/<id>1<\/id>/eg" my.xml Any solution ?

Replies are listed 'Best First'.
Re: modify xml value
by ikegami (Patriarch) on Dec 02, 2008 at 06:36 UTC
    Drop the 'e' modifier
      Thanks you made me happy!!! BTW: what is the e option usage ?