in reply to Re: Unbalance string table refcountin thread Unbalance string table refcount
The thing that fixed the error appears to be using 2 levels of $_. I changed it to "foreach my $file (sort ... and the errors are gone.