-- Guest via RT <bug-FindBin-libs@rt.cpan.org>
Show quoted text>
> Sat Feb 18 14:47:54 2006: Request 17730 was acted upon.
> Transaction: Ticket created by guest
> Queue: FindBin-libs
> Subject: Those spurious warnings from File::Spec
> Owner: Nobody
> Requestors: gyles19@visi.com
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=17730 >
>
>
> I find the spurious warnings coming from File::Spec very annoying. I
> traced it back to FindBin::libs making a call to File::Spec::catpath
> without providing the required filename parameter.
>
> I wrote a test to detect the behavior and prove when the patch fixes it.
>
> I have attached a unified diff patch file and the test file. This shows
> the problem using 'make test' on linux, and with 'prove' and 'perl'.
>
> I also updated the POD and fixed a typo and a POD format error.
>
> I verified things with:
>
> make test # barfs
> cd lib/Findbin
> patch <patch
> cd ../..
> make
> make test # fixed
>
> Red Hat 7.2, perl 5.8.8
thanks, it was a bogus paren:
( catpath $vol, ( catdir @dirpath , $base ) )
should've been:
( catpath $vol, ( catdir @dirpath ), $base )
The odd thing I found was that the error only showed up with
make; prove and 'perl -d' didn't show the error.
--
Steven Lembark 85-09 90th Street
Workhorse Computing Woodhaven, NY 11421
lembark@wrkhors.com 1 888 359 3508