in reply to Reaped: Re: Net::FTP quit terminates Perl script
in thread Net::FTP

PS to be clear- I was expecting quit to just terminate the ftp connection, not execution?
  • Comment on Re^2: Net::FTP quit terminates Perl script

Replies are listed 'Best First'.
Re^3: Net::FTP quit terminates Perl script
by GotToBTru (Prior) on Jul 15, 2015 at 18:30 UTC

    You are correct in your expectation. Perhaps set a breakpoint right after the quit to see if it is really ending there. Put an or die $ftph->message in the troublesome statement.

    Dum Spiro Spero