Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://554819]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-10-19 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (252 votes). Check out past polls.

    Notices?