but with this, perl won't do anything at all
[gitmo/Moose.git] / lib / Moose / Meta / Method / Destructor.pm
index 182f15e..2ce956d 100644 (file)
@@ -122,7 +122,6 @@ sub _generate_DEMOLISHALL {
             (map { $inv . '->' . $_->{class} . '::DEMOLISH($igd);' } @methods),
         '}',
         'Try::Tiny::catch {',
-            'no warnings \'misc\';',
             'die $_;',
         '};',
     );