Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Perl Expect Command output

by armstd (Friar)
on Aug 28, 2011 at 18:00 UTC ( #922905=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl Expect Command output
in thread Perl Expect Command output

They seem to be asking for the output from a command ('help' in this case) executed on the remote device. before is the way to do it. What debugging steps have you taken already and what did you get? Since you are not error checking your spawn, do you even know if you're successfully connecting?

--Dave


Comment on Re^2: Perl Expect Command output
Re^3: Perl Expect Command output
by anilhpn (Initiate) on Sep 15, 2011 at 18:11 UTC
    Thanks for the info. I had tried with a command which stores the buffer content of 'just before executed command'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922905]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2014-12-29 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls