in reply to How to replace text in external file

You need regular expressions.
  • Comment on Re: How to replace text in external file

Replies are listed 'Best First'.
Re^2: How to replace text in external file
by john_oshea (Priest) on Feb 06, 2006 at 12:15 UTC

    And something like Tie::File to make the file reading / rewriting nice and simple.