in reply to •Re: tell() on sysread()
in thread tell() on sysread()

are you certain? beacuse the following works for me
perl -e'open FH,"<test.pl"||die$!;$fh=\*FH;sysread($fh,$foo,256); $bar=tell($fh);print"$foo\n$bar\n";'

Replies are listed 'Best First'.
Re^3: tell() on sysread()
by !1 (Hermit) on Oct 25, 2004 at 17:07 UTC
    Yet it fails miserably on Win32. The side-effects of using sysread are system-specific.