See the Tie::File documentation on recsep:
By default, the meaning is the same as for the <...> operator: It's a string terminated by $/, which is probably "\n". (Minor exception: on DOS and Win32 systems, a 'record' is a string terminated by "\r\n".)
So that's exactly your problem. Change recsep to \n and likely everything will "just work".
In reply to Re^3: Can't get Tie::File working
by Corion
in thread Can't get Tie::File working
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |