avoid useless constant in void context by using !1 for falseh
[gitmo/Class-MOP.git] / lib / Class / MOP.pm
index 1204a2e..0e9723b 100644 (file)
@@ -28,7 +28,7 @@ BEGIN {
         require Devel::GlobalDestruction;
         Devel::GlobalDestruction->import("in_global_destruction");
         1;
-    } or *in_global_destruction = sub () { '' };
+    } or *in_global_destruction = sub () { !1 };
 }