![]() |
|
"be consistent" | |
PerlMonks |
Re: Can't get data from cisco router/switch when telnetting in via perl script.by cengineer (Pilgrim) |
on Aug 21, 2007 at 09:52 UTC ( #634086=note: print w/replies, xml ) | Need Help?? |
You can save a log of the input and output of session by defining Dump_Log in your telnet object. You can also save a log of your input to the switch by defining Input_Log. This might help you to better understand what's going on in the telnet session.
Take a look at the 'waitfor' method in Net::Telnet to get the response after your print
In Section
Seekers of Perl Wisdom
|
|