The quit method does not exit the script for me. Simple test:
#!/usr/bin/perl use strict; use warnings; use Net::FTP; my $ftp = Net::FTP->new ('ftp.perl.org'); $ftp->login ('anonymous'); print $ftp->pwd (); $ftp->quit; print "And now an extra line.\n";
which results in the expected output:
/And now an extra line.That's with version 2.77 of Net::FTP.
In reply to Re: Net::FTP quit terminates Perl script
by hippo
in thread Net::FTP quit terminates Perl script
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |