Subject: | Pod::Man gives "Use of uninitialized value" warnings |
Date: | Wed, 2 Mar 2016 10:17:44 +0000 |
To: | bug-podlators [...] rt.cpan.org |
From: | Dave Mitchell <davem [...] iabyn.com> |
When installing a CPAN module that has its .pm file in the top-level
distribution directory (e.g. Want), then running make in that directory
gives:
Use of uninitialized value $dirs[0] in string eq at ..../Pod/Man.pm line 893.
Use of uninitialized value $dirs[0] in string eq at ..../Pod/Man.pm line 894.
The attached diff seems to fix it. NB: my patch doesn't re-indent the
code block within the added if - I skipped that so that its easier to see
what the patch does.
--
Standards (n). Battle insignia or tribal totems.
Message body is not shown because sender requested not to inline it.