Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 70253
Status: rejected
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.58
Fixed in: (no value)



Subject: URI::Escape spews warnings under -w switch
When -w is used, as is apparently done when running test suites via EUMM and MB, URI::Escape spews 'Use of uninitialized value in subroutine entry' warnings. I assume these warnings are spurious, since the module appears to work correctly. Please use lexical warnings.
On Sat Aug 13 15:53:42 2011, DOHERTY wrote: Show quoted text
> When -w is used, as is apparently done when running test suites via EUMM > and MB, URI::Escape spews 'Use of uninitialized value in subroutine > entry' warnings. I assume these warnings are spurious, since the module > appears to work correctly. Please use lexical warnings.
What's the call into URI::Escape that produce this warning? What does it take to reproduce this?
On Sun Aug 14 03:08:42 2011, GAAS wrote: Show quoted text
> What's the call into URI::Escape that produce this warning?
I haven't tracked that down yet. Show quoted text
> What does it take to reproduce this?
Running the test suite of https://github.com/mikelifeguard/MediaWiki-Bot with perl directly is fine; with prove is fine; with `dzil test` is not; `dzil build` and then the perl Makefile.PL && make && make test dance is also not okay. I don't know enough about how the toolchain works to figure out where the problem is, so I'd welcome your help if you don't mind.
Okay, I found the error, and it isn't URI::Escape's fault, I guess. Is it really useful to emit that warning instead of using '' in place of undef?