Have developed a class to wrap around net::ftp. Does the connection with retry logic, and allows alternate servers.
Works fine for 1 instance, but on 2nd instance, the $ftp variable is not null and has the 1st net::ftp object.
Do I have to keep track of each ftp object?
ie my $ftp in my class is visible to everywhere.
Works fine for 1 instance, but on 2nd instance, the $ftp variable is not null and has the 1st net::ftp object.
Do I have to keep track of each ftp object?
ie my $ftp in my class is visible to everywhere.