Closed p5pRT closed 21 years ago
This program: ------------------------------------------------------------ { package Foo; sub TIEHANDLE { bless {}\, shift } sub OPEN { require Carp; Carp::croak("No\, no"); } }
tie *Foo\, "Foo";
eval { open(Foo\, "bar"); };
print "foo\n"; ------------------------------------------------------------
prints "foo\n" twice. Why? It seems like anything printed after the eval is repeated. The same thing happen with perl-5.6.0.
(Just reviewing old perl bugs).
This appears to be fixed in 5.8.0.
Regards\,
Dave M.
@iabyn - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#4238 (status was 'resolved')
Searchable as RT4238$