Always results in 10, for files of at least 10 bytes. Are you sure your file is 2K long? That's a mighty-big record.$/=\10; open(F, "foo.txt") || die; $rec=<F>; print length $rec, "\n"; close(F);
In reply to Re: Reading fixed length records
by clintp
in thread Reading fixed length records
by tigervamp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |