glasswalk3r has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I'm considering to use Net::SSH::Any for a small script which will connect to several hosts with short-lived connections and I was looking for a way to explicit close the connections to the them.
For my surprise, didn't find any method for it in the documentation, neither found respective code after a quickly check.
Is there any method for it? Should I worry at all? I assume that the connection will be closed automatically when the object goes out of scope, but I prefer explicit than implicit behavior. :-)
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Explicit closing connections with Net::SSH::Any
by thanos1983 (Parson) on Jan 04, 2018 at 15:42 UTC | |
|
Re: Explicit closing connections with Net::SSH::Any
by salva (Canon) on Jan 08, 2018 at 08:53 UTC |