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>
Sun, 24 Apr 2011 15:38:35 +0000 (10:38 -0500)
commit1d30d796884fc2b7f2e63432c73408a94264a32c
treed7890916beff4d2b6106a149d29782882de747bb
parentee96986a48d7737c7b13fa24403c9a0eed3a4aa9
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