Do you know where your variables are? | |
PerlMonks |
Re: Prepending to a fileby Adam (Vicar) |
on Feb 06, 2001 at 07:45 UTC ( [id://56601]=note: print w/replies, xml ) | Need Help?? |
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
|
|