New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:encoding() returns wrong value on eof #9882
Comments
From @ikegamiCreated by @ikegamiWhen using :encoding, read() returns undef at eof rather than zero. ----- BEGIN code ----- use strict; sub test { { open(my $fh, '<', \'ab') or die; test($fh); } ----- BEGIN output ----- read = 1 (newline added for readability) I haven't managed to track down the cause. Perl Info
|
From @obraReplicated on 5.10.0, vanilla 5.10.1 and 5.11.0 |
@obra - Status changed from 'new' to 'open' |
From @obraOn Sat Oct 10 12:33:53 2009, jesse wrote:
Also, 5.8.8 |
From @obra
Thanks very much for your report, Eric. As it turns out, this is a somewhat I've added a TODO test based on your report to blead as of commit 86cb0d3. Best, |
From @obra16:21 <@Nicholas> also, as to PerIO behaviour |
Migrated from rt.perl.org#69332 (status was 'open')
Searchable as RT69332$
The text was updated successfully, but these errors were encountered: