> > my $fh = IO::File->new(...) > > > >anywhere in the program or its libraries would trigger this slow behaviour > >for the rest of the program. > > No. That's why we make it a counter. When a DOD run is made we recalc > the number of deterministci destructions needed.
But, more than likely, the file will always be open (line by line processing anyone?) Yes, there are definately times when this is not the case, but I don't think they are as frequent. It seems to me that refcounting is going to impose a lot of overhead that may not bring benefit. Tanton