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