summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-06-23 18:26:02 -0500
committerJesse Luehrs <doy@tozt.net>2012-06-23 18:26:02 -0500
commit35660a608346b7ce1d3002a3f7ffb307363d6c74 (patch)
treed19ebec7a8e0502d79ddcc4a8255313f61fe5fd1 /lib
parent2e70e3dbecd6043588db255bee68816b51c5c21d (diff)
downloadsmartmatch-35660a608346b7ce1d3002a3f7ffb307363d6c74.tar.gz
smartmatch-35660a608346b7ce1d3002a3f7ffb307363d6c74.zip
why was i doing this from xs to begin with
Diffstat (limited to 'lib')
-rw-r--r--lib/smartmatch.pm4
1 files changed, 2 insertions, 2 deletions
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