in reply to Net::FTP quit terminates Perl script
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::FTP quit terminates Perl script
by misterperl (Friar) on Jul 15, 2015 at 17:02 UTC | |
by misterperl (Friar) on Jul 15, 2015 at 17:34 UTC |