Perhaps open the file for appendation (noun form of append :P) and seek to the beginning of the file. Then just print FILEHANDE "new text";
May not be that elegant, though. :\
Update: Don't know what I am talking about - I just assumed that I did :D.
I'm so adjective, I verb nouns!
chomp; # nom nom nom
In reply to Re: Elegant Way of Inserting Text at the Start of the File
by Lawliet
in thread Elegant Way of Inserting Text at the Start of the File
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |