From: gfx Date: Sun, 19 Jul 2009 02:05:11 +0000 (+0900) Subject: Remove a "no strict 'refs'" statement X-Git-Tag: 0.92_01~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef2ed956c8f51174a1db9dd2db66b13fb7d490d6;p=gitmo%2FClass-MOP.git Remove a "no strict 'refs'" statement --- diff --git a/lib/Class/MOP/Package.pm b/lib/Class/MOP/Package.pm index bfbf974..c0ebb07 100644 --- a/lib/Class/MOP/Package.pm +++ b/lib/Class/MOP/Package.pm @@ -132,8 +132,7 @@ sub namespace { sub remove_package_glob { my ($self, $name) = @_; - no strict 'refs'; - delete ${$self->name . '::'}{$name}; + delete $self->namespace->{$name}; } sub remove_package_symbol {