kpofcochin has asked for the wisdom of the Perl Monks concerning the following question:

Hi team,
Am new to Perl and i want to know, how to update a particular word/line in a file, without re-writing into new file/line.
i tried with tie, it works for existing word replacements, not for new words/append to any line in file.
can anyone suggest a better way?!!
thanks,
kp

Replies are listed 'Best First'.
Re: Perl File update
by kcott (Archbishop) on Nov 02, 2010 at 14:33 UTC
Re: Perl File update
by suhailck (Friar) on Nov 02, 2010 at 14:58 UTC