I would really like there to be a nicer/more integrated solution, but I think with libssh2, you have to do the packet forwarding yourself, which means that you will need at least threads or some very clever asynchronous framework to run both the forwarding and DBI queries. And spawning an external process is much simpler than that, at least if you have the ssh executable available.
In reply to Re^3: Using Net::SSH2 with DBI
by Corion
in thread Using Net::SSH2 with DBI
by diyaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |