be4c4b
diff -up Switch-2.17/Switch.pm.fixme Switch-2.17/Switch.pm
be4c4b
--- Switch-2.17/Switch.pm.fixme	2014-06-10 13:03:40.395988520 -0400
be4c4b
+++ Switch-2.17/Switch.pm	2014-06-10 13:04:50.909488953 -0400
be4c4b
@@ -25,9 +25,11 @@ my ($Perl5, $Perl6) = (0,0);
be4c4b
 
be4c4b
 sub import
be4c4b
 {
be4c4b
+	my ($class) = @_;
be4c4b
+	my $self = bless {}, $class;
be4c4b
 	$fallthrough = grep /\bfallthrough\b/, @_;
be4c4b
 	$offset = (caller)[2]+1;
be4c4b
-	filter_add({}) unless @_>1 && $_[1] eq 'noimport';
be4c4b
+	filter_add($self) unless @_>1 && $_[1] eq 'noimport';
be4c4b
 	my $pkg = caller;
be4c4b
 	no strict 'refs';
be4c4b
 	for ( qw( on_defined on_exists ) )