in reply to Re: file updating questionin thread file updating question
if (open(FILE, "+< stuff.txt")) { local $/ = undef; my $buff = <FILE>; truncate(FILE, 0); # Update $buff print FILE $buff; [download]