in reply to Elegant Way of Inserting Text at the Start of the File
You could probably do it with Tie::File.
Information about American English usage here and here. Floating point issues? Please read this before posting. — emc