After I kindly got a solution
to a Net::FTP
problem I got, I could move to the next one :))
Considering this code:
my $ftp = Net::FTP->new($hostname, Debug => 1, Passive => 1);
my $ref= $ftp->ls();
If the $directory
is empty, on Linux I get:
Can't use an undefined value as a symbol reference at /usr/lib/perl5/5
+.8.8/Net/FTP/dataconn.pm line 53.
Instead on Windows I get correctly:
$VAR1 = undef;
How could I fix this behaviour on Linux ? Thanks for any hint/explaination.