in reply to order of destructor calls upon call of exit()

You can't know. Time to rethink your algorithm. The final DESTROYs happen in memory allocation order, nothing you can control.

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: order of destructor calls upon call of exit()