but with this, perl won't do anything at all
authorJesse Luehrs <doy@tozt.net>
Sun, 24 Apr 2011 15:38:35 +0000 (10:38 -0500)
committerJesse Luehrs <doy@tozt.net>
Thu, 28 Apr 2011 09:53:31 +0000 (04:53 -0500)
commitf409044df04666cb5d88e65092decdc89e5240d4
tree738b87606d84a03caff1fa2582d6b196ba23f91b
parent19f996daa10c250a51391051e7ec21427d32b829
but with this, perl won't do anything at all

perl seems to silently convert exceptions thrown in destructors into
warnings, in the category of "misc", so disabling misc warnings means
that exceptions in the destructor will be completely silent. confess
inside destructors seems to be completely silent regardless, which also
seems broken, but nothing we can really do about that. don't really want
to add tests for this, because it's really not clear what the intended
behavior is here.
lib/Moose/Meta/Method/Destructor.pm
lib/Moose/Object.pm