|
|
| "be consistent" | |
| PerlMonks |
Re: Prepending to a fileby Adam (Vicar) |
| on Feb 06, 2001 at 02:45 UTC ( [id://56601]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
No. Files are just a stream of 1s and 0s recorded to disk. The only way to edit a file is to read the file into memory, edit it, and re-write it... or to remove the EOF marker and append more data to the end.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||