You aren't checking if rmdir succeeded or failed. The docs say: "Unless otherwise stated all methods return either a true or false value, with true meaning that the operation was a success. When a method states that it returns a value, failure will be returned as undef or an empty list."
How can you be sure that it's being terminated early by the next command?
Honestly, you haven't provided enough context for us to offer useful advice.
In reply to Re: Need Net::FTP rmdir time out help
by Mr. Muskrat
in thread Need Net::FTP rmdir time out help
by Todd Chester
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |