Confused by sysread()
Roger Burton West
roger at firedrake.org
Mon Apr 9 23:16:41 BST 2012
On Mon, Apr 09, 2012 at 02:52:10PM -0700, Yitzchak Scott-Thoennes wrote:
>You've probably switched from perl using stdio to using perlio.
The perl I have certainly has USE_PERLIO set.
>You
>could compile 5.10.1 with usestdio to see if that makes a difference.
>Or you could try a newer perl and see if this is a bug that perhaps
>has been fixed?
Oh dear. I could, but it's rather a slog.
>Which strikes a vague bell...does it help to say: my $data = '';
No. Nor to initialise it to the size of the buffer.
R
More information about the london.pm
mailing list