in reply to Re^2: Can't get Tie::File working
in thread Can't get Tie::File working
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".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can't get Tie::File working
by rovf (Priest) on Oct 14, 2008 at 12:10 UTC | |
by Corion (Patriarch) on Oct 14, 2008 at 12:29 UTC |