Subject: | spurious warning when using ssl |
I use:
my $nt = Net::Twitter::Lite->new(ssl => 1, netrc => 1);
and I get the following warning:
Use of uninitialized value in substitution (s///) at
/opt/local/lib/perl5/vendor_perl/5.8.9/Net/Twitter/Lite.pm line 53.
The corresponding code in the module is:
$new->{$_} =~ s/http/https/
for qw/apiurl searchurl search_trends_api_url lists_api_url/;
Before doing the substitution, one should test whether $new->{$_} is
defined.