about summary refs log tree commit
path: root/lib/Net/FTP.pm
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2014-11-20 13:30:52 +0000
committerSteve Hay <steve.m.hay@googlemail.com>2014-11-20 13:30:52 +0000
commit2a65863a5cc0c42497e8da41e6d77fb770891057 (patch)
tree6b8c00eee720921e1085c9ce1a2aed3f25c0745e /lib/Net/FTP.pm
parentc2fe21c50ceb473ceb80f1343948d9a172aec59d (diff)
downloadperl-libnet-2a65863a5cc0c42497e8da41e6d77fb770891057.tar.gz
Increased minimum required Socket version from 1.3 to 2.016
This turned out to be the cause of the remaining problem on CPAN RT#100020,
but only on machines having IO::Socket::IP (and even then that worked fine
on my machine, so it is probably OS dependent).

Don't restate the minimum required version everywhere that Socket is used.
It seems like overkill (and maintenance hassle) in a world where various
CPAN shells do a good job of installing required versions of prerequisite
modules, and it already wasn't done for IO::Socket (which also has a minimum
required version).
Diffstat (limited to 'lib/Net/FTP.pm')
-rw-r--r--lib/Net/FTP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/FTP.pm b/lib/Net/FTP.pm
index 8808685..4a3f309 100644
--- a/lib/Net/FTP.pm
+++ b/lib/Net/FTP.pm
@@ -21,7 +21,7 @@ use Fcntl qw(O_WRONLY O_RDONLY O_APPEND O_CREAT O_TRUNC);
 use IO::Socket;
 use Net::Cmd;
 use Net::Config;
-use Socket 1.3;
+use Socket;
 use Time::Local;
 
 our $VERSION = '3.03';