On Wed Mar 11 02:19:42 2015, SREZIC wrote:
Show quoted text> On 2015-03-11 02:04:53, amitsapre@gmail.com wrote:
> > Hello,
> >
> > I keep getting this warning on console while running few scripts
> > which uses
> > URI.
> >
> > Use of uninitialized value in subroutine entry at
> > /usr/lib/site_perl/URI/Escape.pm line 184.
> >
> > Not sure if this is a serious issue w.r.t module functionality. I am
> > using
> > URI version 1.65
> >
>
> Probably an undefined value is supplied to uri_escape_utf8. I can
> reproduce it with the latest URI (1.67) and this one-liner:
>
> $ perl5.20.2 -MURI::Escape=uri_escape_utf8 -we
> 'uri_escape_utf8(undef)'
> Use of uninitialized value in subroutine entry at /opt/perl-
> 5.20.2/lib/site_perl/5.20.2/URI/Escape.pm line 184.
>
> So it's probably not an issue with URI::Escape (only that diagnostics
> could be better here).
That reproduces it, but passing undef to uri_escape_utf8 is probably incorrect? The URLs that are driving this warning would be required in order to address this.