From 35660a608346b7ce1d3002a3f7ffb307363d6c74 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 23 Jun 2012 18:26:02 -0500 Subject: why was i doing this from xs to begin with --- lib/smartmatch.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/smartmatch.pm b/lib/smartmatch.pm index ad3caaa..19d0320 100644 --- a/lib/smartmatch.pm +++ b/lib/smartmatch.pm @@ -72,11 +72,11 @@ sub import { unless $package->can('match'); } - register($engine); + $^H{'smartmatch/engine'} = $engine; } sub unimport { - unregister(); + delete $^H{'smartmatch/engine'}; } =head1 BUGS -- cgit v1.2.3-54-g00ecf