Skip Menu |

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

Report information
The Basics
Id: 44471
Status: resolved
Priority: 0/
Queue: Net-FTP-Recursive

People
Owner: texasjdl [...] yahoo.com
Requestors: mfomin [...] rkmail.ru
Cc:
AdminCc:

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



CC: texasjdl [...] yahoo.com
Subject: Bug Net-FTP-Recursive 2.01
Date: Sun, 22 Mar 2009 15:21:45 +0300
To: bug-Net-FTP-Recursive [...] rt.cpan.org
From: Fomin Michael <mfomin [...] rkmail.ru>
Hello! RDIR is crashed with a error 'Must set a filename when creating a File object!' if ftp folder contains file named "0". Net::FTP::Recursive version 2.01 # uname -a Linux web 2.6.25.20-0.1-default #1 SMP 2008-12-12 20:30:38 +0100 x86_64 x86_64 x86_64 GNU/Linux # perl -v This is perl, v5.10.0 built for x86_64-linux-thread-multi -- Best regards, Fomin Michael
This is fixed in 2.03. The Net::FTP::Recursive::File constructor used truth/falsity to determine whether the filename had been set; it has been changed to a test for defined-ness.