http://www.perlmonks.org?node_id=999905


in reply to Re: sed isn't working within a perl script
in thread sed isn't working within a perl script

You're right. Thank you so much. I just doubled the backslashes used in grouping and referring grouped pattern. Then it worked properly. I got confused because I didn't get any error while executing that code.
  • Comment on Re^2: sed isn't working within a perl script