Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: maximum result size for Net::Telnet's cmd() method

by idsfa (Vicar)
on Jun 12, 2006 at 14:31 UTC ( #554819=note: print w/ replies, xml ) Need Help??


in reply to Re: maximum result size for Net::Telnet's cmd() method
in thread maximum result size for Net::Telnet's cmd() method

Which, if you actually read the source is exactly what cmd() does:

## Send command and wait for the prompt. $self->put($cmd . $ors) and ($lines, $last_prompt) = $self->waitfor($prompt);

So no, there is no direct limit on the number of lines returned, only the indirect limit placed by the timeout.


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon


Comment on Re^2: maximum result size for Net::Telnet's cmd() method
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2014-08-20 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (120 votes), past polls