Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Net-Delicious CPAN distribution.

Report information
The Basics
Id: 30310
Status: new
Priority: 0/
Queue: Net-Delicious

Owner: Nobody in particular
Requestors: phil [...]

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

Subject: Error messages when used with warnings on
Download (untitled) / with headers
text/plain 907b
Hi, If the module is used with the -w flag on then two errors are generated when calling the new() method: "my" variable $root masks earlier declaration in same scope at /path/to/Net/ line 1030. Use of uninitialized value in -f at /path/to/Net/ line 227. I understand that this diff will help: @@ -233,7 +233,7 @@ $cfg = $args->{cfg}; } - elsif (-f $args->{cfg}) { + elsif ($args->{cfg} && -f $args->{cfg}) { eval { require Config::Simple; $cfg = Config::Simple->new($args->{cfg}); @@ -1027,7 +1027,7 @@ } } - my $root = $self->{'__updates'}; + $root = $self->{'__updates'}; return File::Spec->catfile($root, $file); } (Taken from ) Thanks, Phil

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to