Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the IO CPAN distribution.

Report information
The Basics
Id: 5882
Status: resolved
Priority: 0/
Queue: IO

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

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

Subject: IO::File getline() fails on Mac OS 10.3
Download (untitled) / with headers
text/plain 269b
Small example script: ---- use IO::File; my $file = \*DATA; my $fh = IO::File->new_from_fd( $file, '<' ); print $fh->getline() . "\n"; __DATA__ stuff more stuff ---- prints 'stuff' on Linux, prints nothing on Mac OS X, with seemingly any recentish version of Perl
Download (untitled) / with headers
text/plain 225b
I know this is an old ticket, but this is no ah IO::File problem. It can be reproduced with plain perl open(my $dup,"<&DATA"); print tell(DATA)," ", tell($dup),"\n"; __DATA__ stuff a ticket has been filed on perl itself

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

Please report any issues with to