Subject: | find_in_namespace lost namespace functionality |
Hi,
when refactoring find_in_namespace() in the latest versions of this
module the actual namespace functionality got lost. find_in_namespace()
always returns a list of ALL modules in @INC - which supposed to be the
"no parameters" fallback behaviour only.
The patch attached should fix the issue.
Subject: | patch.txt |
--- old/Util.pm 2008-11-03 16:35:59.000000000 +0100
+++ new/Util.pm 2008-11-03 16:37:40.000000000 +0100
@@ -194,7 +194,7 @@
for my $root (@inc) {
my $ns_root = rel2abs($ns_path, $root);
- for my $path (_find_modules($root)) {
+ for my $path (_find_modules($ns_root)) {
my $rel_path = abs2rel($path, rel2abs($root));
push @out, fs_path_to_module($rel_path);
}