projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
982b6f2
)
Remove a "no strict 'refs'" statement
gfx [Sun, 19 Jul 2009 02:05:11 +0000 (11:05 +0900)]
lib/Class/MOP/Package.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Package.pm
b/lib/Class/MOP/Package.pm
index
bfbf974
..
c0ebb07
100644
(file)
--- 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 {