Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Net::Telnet :: How to check for the success of 'cmd'

by phydeauxarff (Priest)
on Oct 09, 2003 at 23:55 UTC ( #298146=note: print w/ replies, xml ) Need Help??


in reply to Net::Telnet :: How to check for the success of 'cmd'

have you tried using getlines() after your $t->cmd to see more of what is being returned?

You might also check out print() as an alternative to cmd() as outlined in the net::telnet documentation.

As a last resort if you aren't getting the results you expect, I have always found dump_log() to be a good, good friend.


Comment on Re: Net::Telnet :: How to check for the success of 'cmd'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2015-07-06 19:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (81 votes), past polls