Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 48001
Status: open
Priority: 0/
Queue: libnet

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

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

Subject: Net::FTP->new(Host => $arrayref) does not work
Download (untitled) / with headers
text/plain 597b
See for the discussion. The docs state Host - FTP host to connect to. It may be a single scalar, as defined for the PeerAddr option in IO::Socket::INET, or a reference to an array with hosts to try in turn. The "host" method will return the value which was used to connect to the host. but the constructor does not seem to account for this. Attempting to use my $ftp = Net::FTP->new( Host => $arrayref ) or die $@; results in the error message: Net::FTP: Bad hostname 'ARRAY(0x3ae34)' ... Seems like a mismatch between the code and the docs.
Subject: Re: [ #48001] Net::FTP->new(Host => $arrayref) does not work
Date: Sun, 19 Jul 2009 11:35:14 -0500
To: bug-libnet [...]
From: Graham Barr <gbarr [...]>
Download (untitled) / with headers
text/plain 147b
Show quoted text
> Seems like a mismatch between the code and the docs.
Not sure where that came from in the docs, Net::FTP has never supports an array of hosts

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

Please report any issues with to