in reply to
Editing Contents of a File
or do all in one shot:
perl -pe 's/hello/goodbye/g' <infile >outfile
[download]
Boris
Comment on
Re: Editing Contents of a File
Download
Code
In Section
Seekers of Perl Wisdom