projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a18d9f2
)
Remove a refactoring typo - don't post-increment $flush_mro at the sub's end.
Nicholas Clark [Fri, 21 Aug 2009 08:53:47 +0000 (09:53 +0100)]
lib/constant.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/constant.pm
b/lib/constant.pm
index
69f16c5
..
24a6603
100644
(file)
--- a/
lib/constant.pm
+++ b/
lib/constant.pm
@@
-137,7
+137,7
@@
sub import {
}
}
# Flush the cache exactly once if we make any direct symbol table changes.
- mro::method_changed_in($pkg) if $flush_mro++;
+ mro::method_changed_in($pkg) if $flush_mro;
}
1;