in reply to Causing discord between Net::FTP and IO::Sockets
Net::FTP::A is a child of Net::FTP::dataconn and dataconn is a child of IO::Socket::INET and IO::Socket::INET has method new. I actually don't understand why I got these results:
butperl -MNet::FTP::A -e 'print Net::FTP::A->can("new") || "can not", "\n +"' can not
perl -MNet::FTP::A -MIO::Socket::INET -e 'print Net::FTP::A->can("new" +) || "can not", "\n"' CODE(0x10f3d70)
Update: it looks like a problem in Net::FTP::dataconn. It contains @ISA = qw(IO::Socket::INET), but there's no require IO::Socket::INET
Update2: you can add use IO::Socket::INET into your programm to fix the problem
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Causing discord between Net::FTP and IO::Sockets
by Cefu (Beadle) on Jan 27, 2009 at 19:12 UTC | |
by zwon (Abbot) on Jan 27, 2009 at 19:49 UTC |