Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Net::Telnet issue with getting input buffer data

by regexes (Hermit)
on Feb 28, 2013 at 13:18 UTC ( [id://1021058]=note: print w/replies, xml ) Need Help??


in reply to Net::Telnet issue with getting input buffer data

I don't know exactly what you are trying to do, however, the first place to look is the documentation. Net::Telnet

You mention: "But how to use this api to get data."
To me, this means: "How do I use the module to send commands and receive the output of those commands".

Begin with a reasonable prompt. For example, see this thread: Re: Net::Telnet + command prompt

For the rest... a good place to start is to read about the methods cmd(), waitfor() and print() from the documentation. There are also some good examples at the bottom of the page as well.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-03-28 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found