in reply to Re^2: Inserting content into a file at a particular location
in thread Inserting content into a file at a particular location

Would Tie::File work if the file permissions were changed?
Well, appropriate file permissions (read, write) are of course required. But file permissions don't solve the issue of the file opened in append mode. Nor the problem of inserting a newline instead of using splice.
  • Comment on Re^3: Inserting content into a file at a particular location