Subject: | spurious warnings for unitialised strings in concatenation |
Localizing error message throw warnings when unitialised content is
used, as illustrated by attached testcase.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.8.8/Locale/Maketext/Simple.pm line 220.
Subject: | test_fetch.pl |
#!/usr/bin/perl -w
use File::Fetch;
use strict;
# silence File::Fetch warnings
$File::Fetch::WARN = 0;
# blacklist lynx handler for false positives
$File::Fetch::BLACKLIST = [ qw/lynx/ ];
my $url = 'http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Config-Tiny-2.06.tar.bz2';
my $ff = File::Fetch->new(uri => $url);
my $result = $ff->fetch();