On Feb 25, 2015, at 4:28 AM, Russell Jenkins via RT <bug-Pod-Simple@rt.cpan.org> wrote:
Show quoted text> Prior to v3.30, Pod::Simple::Search->find() would recurse from the current directory (well '.') searching for pod.
>
> However 3.30 is no longer including the current directory as a search path even when it is in @INC. Its causing failures in modules that use Pod::Simple, such as Dancer2.
>
> It's not clear from the changelog entries if this was an accidental change in behaviour or not.
Sort of. Used to be that survey() excluded ‘.’ but find() did not. I unified the two in 3.30 to use the algorithm previously used just for survey(). But looking at the code and docs, I can see no reason why ‘.’ should be excluded by survey(), either, unless it’s to avoid duplicate directories while testing or something. So in a1be54b, I changed the code to instead filter out duplicate directories, rather than ‘.’.
https://github.com/theory/pod-simple/commit/a1be54bbcf0fd201bbdcb72dab66d33f2293a9c4
Let me know if that fixes the issue for you.
Best,
David