Skip Menu |

This queue is for tickets about the URI-ParseSearchString CPAN distribution.

Report information
The Basics
Id: 78835
Status: resolved
Priority: 0/
Queue: URI-ParseSearchString

People
Owner: Nobody in particular
Requestors: mtmail-cpan [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.441
Fixed in: (no value)



For the strings 'http:' and 'http:/' the method se_host() returns 4 warnings. 'http' and 'http://' work as expected though. perl -E'use URI::ParseSearchString; $UP=URI::ParseSearchString->new(); say $UP->se_host("http:")' Use of uninitialized value $host in pattern match (m//) at lib/perl5//URI/ParseSearchString.pm line 475. Use of uninitialized value $host in hash element at lib/perl5//URI/ParseSearchString.pm line 482. Use of uninitialized value $host in index at lib/perl5//URI/ParseSearchString.pm line 483. Use of uninitialized value $hostname in hash element at lib/perl5//URI/ParseSearchString.pm line 538. mtm
On Tue Aug 07 09:44:02 2012, mtmail wrote: Show quoted text
> For the strings 'http:' and 'http:/' the method se_host() returns 4 > warnings. 'http' and 'http://' work as expected though. > > perl -E'use URI::ParseSearchString; $UP=URI::ParseSearchString->new(); > say $UP->se_host("http:")' > Use of uninitialized value $host in pattern match (m//) at > lib/perl5//URI/ParseSearchString.pm line 475. > Use of uninitialized value $host in hash element at > lib/perl5//URI/ParseSearchString.pm line 482. > Use of uninitialized value $host in index at > lib/perl5//URI/ParseSearchString.pm line 483. > Use of uninitialized value $hostname in hash element at > lib/perl5//URI/ParseSearchString.pm line 538. > > mtm
thanks mtm - this has been resolved in 3.5 I just pushed on CPAN