in reply to Prepending to a file
The easiest way to prepend is to move the file to backup,
write new file with new data, then stream the backup file
onto the end of the new data file.
--
$you = new YOU;
honk() if $you->love(perl)
In Section
Seekers of Perl Wisdom