develooper Front page | perl.perl5.porters | Postings from September 2001

PerlIO bug with duping filehandles

Thread Next
Michael G Schwern
September 26, 2001 07:15
PerlIO bug with duping filehandles
Message ID:
Robin caught this.

   open(FOO, ">", \$foo) or die $!;
   open(BAR, ">&FOO")    or die $!;

In 5.6.1 this runs quietly.  In bleadperl w/perlio this dies with 
"Bad file descriptor at - line 2."

Looks like that's the source of the troubles.


Michael G. Schwern   <>
Perl6 Quality Assurance     <>	     Kwalitee Is Job One
Let's leave my ass out of this, shall we?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About