Closed p5pRT closed 21 years ago
Defining FileHandles as "our" Variables does not seem to work:
\
use warnings; use strict; use English; use FileHandle;
our $fh = new FileHandle $PROGRAM_NAME;
print \<$fh>;
$fh->close;
1
\
results in "Use of uninitialized value in \
while changing the "our" to "my" in line 8 makes the program output itself\, as presupposed.
(Just reviewing old Perl bugs).
This bug has been fixed in Perl 5.8.0.
Regards\,
Dave M.
@iabyn - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#4989 (status was 'resolved')
Searchable as RT4989$