In $RemoveSubs, call Package::Stash methods which return static information out of the main loop.
Small refactoring in $RemoveSubs in the cleanup of the GLOB entry: - grep for undefined symbols just once - less string concatenation
0.18 is stable and doesn't have the deprecation warnings for the old API methods. That makes it safe for us to depend on it because the upgrade won't break existing code using it, such as Moose.
The variable is a string which is dereferenced as a sub that no longer exists. When we delete the glob where the sub was defined, we therefore alias it to "namespace::clean::deleted::$fq" so that the debugger can still dereference a symbolic ref and get back a working subroutine
Courtesy of Ben Morrows.