I recall reading somewhere that using local $/=undef meant telling perl to read the entire file at once.
Almost. It controls what readline (or <$fh;>) considers a line. Your code uses sysread, so that's irrelevant.
In reply to Re^3: Avoid using local $/=undef?
by chromatic
in thread Avoid using local $/=undef?
by irDanR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |