I have taken a working program in Linux which uses Tie::File, and transferred it to Windows (Vista) ActivPerl 5.8.8. The tied file (copied from Linux) uses \n as record separators so I added recsep => "\n" to the Tie.
The program now seems to corrupt the file whenever a record is updated (the record length is changed). Subsequent references to records return text which does not correspond with record boundaries. Subsequent inserts are made into the middle of records.
Is this a bug in Tie::File in Windows or have I forgotten something?