Subject: | IO::File getline() fails on Mac OS 10.3 |
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