No such thing as a small change | |
PerlMonks |
Re^2: updating to a fileby rev_1318 (Chaplain) |
on Sep 21, 2005 at 11:23 UTC ( [id://493736]=note: print w/replies, xml ) | Need Help?? |
That solves only the overwrite problem. Appending to a file doesn't solve the update problem. For that, you need inplace edit (as GrandFather shows), or via a Tie to the file. But then, a different data structure would be more suitable.
Paul
In Section
Seekers of Perl Wisdom
|
|