Subject: | Bug report |
Date: | Fri, 13 Nov 2009 00:26:56 +1300 |
To: | bug-File-Download [...] rt.cpan.org |
From: | music_man1352000 <music_man1352000 [...] yahoo.com.au> |
Hi
I found a bug in version 0.3 of File::Download. The bug manifests when
trying to specify a full path (that includes a file name) for the
download using the 'outfile' parameter. Download is still successful
when only specifying a directory. Having looked at the code, I believe
the bug can be fixed by changing line 111 from "$file = $self->{file};"
to "$file = $self->{outfile};".
Thanks for your work :)