Subject: | Minor bug in Net::DNS::Resolver::Win32 |
I got 6 warnings like:
Use of uninitialized value in concatenation (.) or string at C:/Perl/site/lib/Net/DNS/Resolver/Win32.pm line 42.
during installation. Line 42 is:
my $searchlist = "$domain ";
I suggest changing line 37 from:
my $domain = $keys{'Domain'}->[2] || $keys{'DhcpDomain'}->[2];
to:
my $domain = $keys{'Domain'}->[2] || $keys{'DhcpDomain'}->[2] || '';
On my Win2k PC, Domain exists but has no value, and DhcpDomain does not exist.