in reply to Re^2: how to search and replace some text in a .conf file
in thread how to search and replace some text in a .conf file

You should also output your text somewhere. Look at print, or, if you want to do an in-place change, potentially look at Tie::File.

  • Comment on Re^3: how to search and replace some text in a .conf file