We don't bite newbies here... much | |
PerlMonks |
Re: Re: writing to the top of a fileby bibo (Pilgrim) |
on May 20, 2004 at 13:37 UTC ( [id://354941]=note: print w/replies, xml ) | Need Help?? |
I concur. Even sucking the whole file in with
@lines = <$INFILE>;
and just printing the results in reverse order makes more sense than physically writing to the file in such an unnatural order. Of course, that presumes the file is not of a monstrous size, etc etc.
In Section
Seekers of Perl Wisdom
|
|