scottb has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: STDIN and STDOUT as a single filehandle?
by PodMaster (Abbot) on May 31, 2004 at 16:59 UTC | |
by scottb (Scribe) on May 31, 2004 at 19:44 UTC | |
by gmpassos (Priest) on Jun 01, 2004 at 06:09 UTC |