A
Abhinav
Hi,
I posted this on comp.editors earlier, so I apologize for this multi-post.
However, I thought it would be great if I knew how to perform the following
using Perl :
I have a file with a number of lines like this :
push @xmlParams,"<?xml version="1.0"?>";
^ ^
^ ^
I need to escape the inner quotes i.e, change " to \" - however number of
times the quotes may appear.
(They will always be balanced, though).
Any pointers on how to do this ?
TIA
I posted this on comp.editors earlier, so I apologize for this multi-post.
However, I thought it would be great if I knew how to perform the following
using Perl :
I have a file with a number of lines like this :
push @xmlParams,"<?xml version="1.0"?>";
^ ^
^ ^
I need to escape the inner quotes i.e, change " to \" - however number of
times the quotes may appear.
(They will always be balanced, though).
Any pointers on how to do this ?
TIA