Just another Perl shrine | |
PerlMonks |
Re^3: How do you use Net::OpenSSH to query mysql database via ssh tunnelby nysus (Parson) |
on May 09, 2017 at 15:12 UTC ( [id://1189916]=note: print w/replies, xml ) | Need Help?? |
So following the advice on the link above and another page it references, I got this:
The big advantage is no more sleep command (except on the remote machine but that doesn't delay anything). Nice. And, apparently, as long as you do a query within 10 seconds it will work and it will autoclose the tunnel after that.
$PM = "Perl Monk's";
In Section
Seekers of Perl Wisdom
|
|