Skip Menu |
 
rt.cpan.org 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

People
Owner: Nobody in particular
Requestors: pete [...] clueball.com
Cc:
AdminCc:

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



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: IO::File getline() fails on Mac OS 10.3
X-RT-Original-Encoding: iso-8859-1
Content-Length: 269
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-2324-1242362898-1039.5882-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 225
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 Perl.org infrastructure.

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