From: Yuval Kogman Date: Mon, 19 May 2008 08:05:41 +0000 (+0000) Subject: avoid uninitialized warning for CLASS_MOP_NO_XS X-Git-Tag: 0_64~55 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e2d4fc55aca57d180ca319a08b4452d85d0936eb;p=gitmo%2FClass-MOP.git avoid uninitialized warning for CLASS_MOP_NO_XS --- diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 8501f79..439ac91 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -41,7 +41,7 @@ BEGIN { ) }; - if ($ENV{CLASS_MOP_NO_XS} == 1) { + if ($ENV{CLASS_MOP_NO_XS}) { # NOTE: # this is if you really want things # to be slow, then you can force the