#!./perl -w use Net::Config; use Net::FTP; unless(defined($NetConfig{ftp_testhost}) && $NetConfig{test_hosts}) { print "1..0\n"; exit 0; } my $t = 1; print "1..7\n"; $ftp = Net::FTP->new($NetConfig{ftp_testhost}, Debug => 0) or (print("not ok 1\n"), exit); printf "ok %d\n",$t++;