Skip Menu |

This queue is for tickets about the File-Fetch CPAN distribution.

Report information
The Basics
Id: 107843
Status: new
Priority: 0/
Queue: File-Fetch

People
Owner: Nobody in particular
Requestors: joel [...] joel.su
Cc:
AdminCc:

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



Subject: File::Fetch errors out on a https url without an error code
Date: Sun, 18 Oct 2015 03:45:24 +0000
To: bug-file-fetch [...] rt.cpan.org
From: Joel Mathew <joel [...] joel.su>
Example script: use strict;use warnings;use File::Fetch;my $url = 'https://ftp.mozilla.org/pub/firefox/releases/42.0b7/linux-i686/en-US/firefox-42.0b7.tar.bz2';my $ff = File::Fetch->new(uri => $url);my $where = $ff->fetch( to => '/tmp' ) or die $ff->error;print "Downloaded to ".$where."\n"; At execution: #./filefetch.plUse of uninitialized value in die at ./filefetch.pl line 12.Died at ./filefetch.pl line 12.