rurban/perl-compiler — pull request #2 by eschoenhals (2014-07-01 20:47:19+00:00)
Title: Don't drop parent modules if used only in anonsub

Issue 348: Don't drop modules declared in parent namespaces in the
presence usages of modules in child namespaces if the only usage of a
module in a parent namespace is within an anonymous subroutine

ie, if 'Foo' and 'Foo::Bar' exist, and 'Foo::Bar' is used, but 'Foo' is
only used in an anonymous subroutine, do a better job of keeping 'Foo'