perlcapt has asked for the wisdom of the Perl Monks concerning the following question:
$bytes is a lovely 1024, and there is good stuff in the buffer, but tell() is always returning 0; Is it my reference to a filehandle which works fine for sysread, but not for tell?# in a loop after appropriate open $bytes = sysread($self->{FH},$self->{buffer},1024); print tell($self->{FH}),"\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: tell() on sysread()
by merlyn (Sage) on Oct 25, 2004 at 15:41 UTC | |
by Taulmarill (Deacon) on Oct 25, 2004 at 15:50 UTC | |
by !1 (Hermit) on Oct 25, 2004 at 17:07 UTC |