Subject: | perlfind sometimes chooses wrong module when not installed |
I recently tried to perlfind a module that wasn't installed and was
pleased to see that it downloaded the docs to a temp file and displayed it.
When trying with a different module perlfind seemed to get confused
and showed me the docs for the wrong one.
I cannot remember what that first example was,
however it happened to me again with:
perlfind Dist::Zilla::Plugin::Prereqs::DarkPAN
I don't have that module installed,
and perlfind seems content with showing me the docs for
Dist::Zilla::Plugin::Prereqs
(which I do have installed).
Is this a bug about finding an installed sub-namespace?
(Notice the extra '::DarkPAN').
I do not have this problem if I use 'cpandoc' directly.
Taking a look at the code I'm guessing that it comes from
https://github.com/hanekomu/App-perlfind/blob/master/lib/App/perlfind/Plugin/UseModule.pm#L21