in reply to Elegant Way of Inserting Text at the Start of the File
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Elegant Way of Inserting Text at the Start of the File
by ikegami (Patriarch) on Nov 19, 2008 at 01:29 UTC | |
by ig (Vicar) on Nov 19, 2008 at 03:04 UTC | |
by ikegami (Patriarch) on Nov 19, 2008 at 04:24 UTC |