From: Nicholas Clark Date: Fri, 21 Aug 2009 08:53:47 +0000 (+0100) Subject: Remove a refactoring typo - don't post-increment $flush_mro at the sub's end. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=81a8de77c95e1a449aaa4780c3e993117e10733d;p=p5sagit%2Fp5-mst-13.2.git Remove a refactoring typo - don't post-increment $flush_mro at the sub's end. --- diff --git a/lib/constant.pm b/lib/constant.pm index 69f16c5..24a6603 100644 --- 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;