no reason this shouldn't be using the namespace
Jesse Luehrs [Mon, 2 May 2011 20:22:37 +0000 (15:22 -0500)]
lib/Package/Stash/PP.pm

index 60c486a..4856d14 100644 (file)
@@ -134,8 +134,7 @@ sub add_symbol {
 
 sub remove_glob {
     my ($self, $name) = @_;
-    no strict 'refs';
-    delete ${$self->name . '::'}{$name};
+    delete $self->namespace->{$name};
 }
 
 sub has_symbol {