Fix Squirrel.pm
gfx [Wed, 23 Sep 2009 04:09:59 +0000 (13:09 +0900)]
lib/Squirrel.pm

index a9e4024..f73f867 100644 (file)
@@ -26,7 +26,7 @@ sub _handlers {
 
     my $caller = caller(1);
 
-    $pkgs{$caller} ||== $class->_choose_backend;
+    $pkgs{$caller} ||= $class->_choose_backend;
 }
 
 sub import {