Skip Menu |
 

This queue is for tickets about the IO-Zlib CPAN distribution.

Report information
The Basics
Id: 21721
Status: resolved
Priority: 0/
Queue: IO-Zlib

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: ->eof does not work
Download (untitled) / with headers
text/plain 363b
Unlike seek and tell, which are part of the IO::Seekable role and not the normal IO::Handle role, the ->eof method IS part of the normal IO::Handle role, and critical when working with handles in several context. Most specifically, the lack of a working implementation means it is not possible to tell the EOF state of an IO::Zlib without pulling a line off it.
From: tom [...] compton.nu
Download (untitled) / with headers
text/plain 624b
On Mon Sep 25 22:58:00 2006, ADAMK wrote: Show quoted text
> Unlike seek and tell, which are part of the IO::Seekable role and not > the normal IO::Handle role, the ->eof method IS part of the normal > IO::Handle role, and critical when working with handles in several
context. Show quoted text
> > Most specifically, the lack of a working implementation means it is not > possible to tell the EOF state of an IO::Zlib without pulling a line
off it. I believe this was fixed some months ago in the 1.05 release of Zlib, but I can't see any way to close this bug so hopefully somebody who knows the right magic foo will see this comment and do it for me...
Download (untitled) / with headers
text/plain 134b
Looks like I've worked out how to close it now... Why does perl have to use weird software nobody's ever seen before for everything...


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.