Hello Friends,

I am trying to get the prompt parameter right for my Telnet connection.
Doesnt seem to be working...

can somebody help me out with this ...

The prompt from my remote host(cisco box) is as shown below:

W9-BAS-01>      

$t = new Net::Telnet (Timeout => 10,
                        Input_log => $inlogfileg,
                        Output_log => $outlogfile,
                        Telnetmode => 1,
                        dump_log => $dmplog,
                        Timeout => $secs),
                      Prompt => 'W9-BAS-01');


Error message:

syntax error at Bastelnet.pl line 18, near "'W9-BAS-01')"
Execution of Bastelnet.pl aborted due to compilation errors.


----------------------------------------------------------------------------
----------------

regards,

Ajitpal Singh,

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to