Shmuel Fomberg wrote: > Perl kept this $fh alive because it is selected, > but its reference count get decreased to zero. > And when it's time for global destruction, Perl finds this file and discover > that it has zero references. > Of course, you declared it as my $fh, remember? :) After the eval block thingie, its refcount should be decreased.
~Y _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
