On 05/23/2013 05:57 PM, Leon Timmermans wrote: > On Thu, May 23, 2013 at 5:45 PM, Steffen Mueller <smueller@cpan.org> wrote: >> There's a more general problem with this: occasionally, C extensions need to >> do cleanup very late during global destruction. Usually just a free() or >> Safefree() to be done after all Perl code is done. Maybe adding a C level >> hook for this could allow Storable to work around this problem as well? >> Given what you write, I think maybe not that easily. > > That would not solve this problem. This problem is not in a DESTROY > from Storable, but from other code calling Storable from they DESTROY > methods. Which would be fine if the Storable guts were held on to long enough to actually be called from DESTROYs. But since the "guts" here is perl guts, not storable guts, that likely doesn't work. --SteffenThread Previous | Thread Next