in reply to Shifting the top line(s) of a file?

All the answers are right there in your post! Take a look at the Tie::File module.
  • Comment on Re: Shifting the top line(s) of a file?