Skip Menu |

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

Report information
The Basics
Id: 66533
Status: new
Priority: 0/
Queue: IO-stringy

Owner: Nobody in particular
Requestors: user42 [...]

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

Subject: IO::InnerFile tied eof()
Date: Fri, 11 Mar 2011 10:10:31 +1100
To: bug-IO-stringy [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 668b
With recent debian i386 perl 5.10.1 and IO::InnerFile 2.110 the program below gets an error Can't locate object method "EOF" via package "IO::InnerFile" at line 9. where I hoped the eof() operator/func thingie might be used on such a tied handle. Would it be as simple as (only slightly tried :-), sub EOF { my ($self) = @_; return ($self->{CRPOS} < $self->{LG}); } in the style of GETC() ? Unless there's an open-ended mode which should consult the "outer" handle's eof()-ness ... -- Mathematical jargon elucidated for the layman: "It is easy to show ..." -- it'll take a week's hard work and 100 pages of calculation.

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

Please report any issues with to