Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[Corion]: Meh... Github (understandably) doesn't allow files larger than 100MB, but my rebase of an older repo (from Github) includes such a file and now I can't push my changes there
[Corion]: Maybe that is the push I need to finally try out Gitprep ;)
[Corion]: On the upside, I should finally improve Image::CCV to also do ImageNet classification using their pretrained parameters
[Lady_Aleena]: Hello Corion.
[Corion]: Hi Lady_Aleena!
[Lady_Aleena]: Corion, how are things?
[Corion]: Lady_Aleena: Quite good ;) I'm working four days now, instead of five, which helps my mood and my weekends tremendously

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2017-09-24 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (274 votes). Check out past polls.

    Notices?