# New Ticket Created by "Shawn Boyette"
# Please include the string: [perl #40245]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40245 >
In Perl version
perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
'perldoc PerlIO::scalar' says:
Currently fileno($fh) returns "undef".
But this returns -1:
perl -le '$string = "foo"; open $fh, "<:scalar", \$string; print
fileno $fh;'
At least now I know why I couldn't get to 100% test coverage :)
--
Shawn Boyette
<sboyette@gmail.com>
Thread Next