Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I see no declaration within TFTP module to close session # Net::TFTP.pm, # VERSION = "0.17"; # $Id: TFTP.pm 12 2007-07-18 11:32:42Z What is the proper way to clean up the connection? I have used undef but unsure that is proper. I see close sub defined in Net::TFTP::IO
my $tftp = Net::TFTP->new("$Ip); $tftp->binary; $tftp->get("$getFile", $recvFile); $err = $tftp->error; undef $tftp;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Close TFTP session
by Corion (Patriarch) on Oct 01, 2015 at 14:28 UTC | |
by Anonymous Monk on Oct 01, 2015 at 14:43 UTC | |
by Corion (Patriarch) on Oct 01, 2015 at 15:22 UTC | |
by Anonymous Monk on Oct 01, 2015 at 19:34 UTC |