I am trying to bring together Net::SSH::Perl and Net::Telnet::Cisco so that I can utilize the ease of use of the latter with the SSH capability of the former. Net::SSH::Perl only allows me an interactive shell on the device tied to STDIN and STDOUT, but Net::Telnet::Cisco will allow me to open an existing file handle with fhopen($fh).
So I want N::T::C to use STDIN and STDOUT... but how do I represent those as a single file handle so that I can pass that file handle as the argument in fhopen($fh)?
Thanks in advance,
Scott
In reply to STDIN and STDOUT as a single filehandle? by scottb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |