Subject: | Problems using Net:FTP under Perl 5.00404 |
I got:
Can't declare undef operator in my at /usr/users/tony/perl/lib/libnet-1.12/lib/site_perl/Net/Cmd.pm line 500, near ") ="
BEGIN failed--compilation aborted at /usr/users/tony/perl/lib/libnet-1.12/lib/site_perl/Net/FTP.pm line 20.
BEGIN failed--compilation aborted at /usr/users/tony/perl/ftptest3.pl line 6.
when I tried to use Net::FTP
and the error seems to come from the following
line in Cmd.pm:
my (undef,$len,$offset) = @_;
The perl version I am using is 5.004_04.
The libnet version is libnet-1.12
uname -a yields:
SunOS homer 5.6 Generic_105181-22 sun4u sparc SUNW,Ultra-4
Cmd.pm has a statement in it saying "require 5.001;"
tony_mcguinness@amt-sybex.com