From: Jesse Luehrs Date: Mon, 2 May 2011 20:22:37 +0000 (-0500) Subject: no reason this shouldn't be using the namespace X-Git-Tag: 0.30~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65b8253b508cd3eb54e4d50dbd8bf3ae9a4b062a;p=gitmo%2FPackage-Stash.git no reason this shouldn't be using the namespace --- diff --git a/lib/Package/Stash/PP.pm b/lib/Package/Stash/PP.pm index 60c486a..4856d14 100644 --- a/lib/Package/Stash/PP.pm +++ b/lib/Package/Stash/PP.pm @@ -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 {