in reply to Re: Net::FTP Wrapper: TCP problem
in thread Net::FTP Wrapper: TCP problem
This is the base object (re: $_[0]->get('connection'):
Are you saying that this will cause the $ftp instance to be recreated?sub get { my ($self, $property) = @_; if ($#_ == 0) { return map {$_, $self->{'properties'}->{$_}} $self->properties +; } # if $property is an array, return all values if ( ref $property eq 'ARRAY') { my %retHash = (); grep {$retHash{$_} = $self->{'properties'}->{$_}} @$property; return \%retHash; } return $self->{'properties'}->{$property}; }
If so, why does this cause sporadic failure rather than constant failure or regular failure?
--
Graq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Net::FTP Wrapper: TCP problem
by petral (Curate) on May 31, 2001 at 18:38 UTC |