Re: NET::TELNET and displaying output on-screen
From: Charles DeRykus (ced_at_bcstec.ca.boeing.com)
Date: 08/07/04
- Next message: newzguy: "How to Delete File Contents"
- Previous message: David Combs: "Re: Breaking out of nested subroutine?"
- In reply to: ZoloftGuy: "NET::TELNET and displaying output on-screen"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 7 Aug 2004 03:03:52 GMT
In article <d4376e99.0408061140.1978c947@posting.google.com>,
ZoloftGuy <zoloftguy@myrealbox.com> wrote:
>I'm a newbie to Perl and I am writing a script to telnet in an shut
>off one of our Nortel Contivity VPNs. It works but, I'd like some of
>the activity to display on the screen rather then just in the logs.
>
>Is there anyway to do this? Here is the script. Please tell me if
>there is anything back-asswords about it. Thanks:
>
>$t = new Net::Telnet (Timeout => 30, Prompt => '/[\$]/');
>
$t = new Net::Telnet ( ... , input_log =>\*STDOUT);
(dump_log provides even more detail)
-- Charles DeRykus
- Next message: newzguy: "How to Delete File Contents"
- Previous message: David Combs: "Re: Breaking out of nested subroutine?"
- In reply to: ZoloftGuy: "NET::TELNET and displaying output on-screen"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading