in reply to Re: unit-testing garbage collection with Moose
in thread unit-testing garbage collection with Moose

The class I used had not been made immutable, but I think I was (again) bitten by using an out-of-date Moose.

The DESTROY-approach actually works with the current Moose.

  • Comment on Re^2: unit-testing garbage collection with Moose