Flush the MRO cache at the end, rather than the start.
authorNicholas Clark <nick@ccl4.org>
Tue, 18 Aug 2009 11:03:15 +0000 (12:03 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 18 Aug 2009 11:03:15 +0000 (12:03 +0100)
commitf7fd2659b1bc43d5ff74a8fdc3e6d30555d9aaff
tree7f23ac51cd8dbad64c6eba0d395406b39919b772
parent7064c127ddaf90b0127815f523631025a6ab49af
Flush the MRO cache at the end, rather than the start.

Vincent notes that doing it at the start is fragile, as it assumes that the
flush doesn't actively build any new caches, merely clear existing caches.
Right now the flush only clears, but why rely on it when not doing so is easy?
lib/constant.pm