http://qs1969.pair.com?node_id=181019


in reply to Re: Net::Telnet
in thread Net::Telnet

A simpler fix would have been to simply remove the "defined"
sub _optimal_blksize { my ($blksize) = @_; return $blksize if $blksize and $blksize > 0 and $blksize <= 1_048 +_576; 8192; } # end sub _optimal_blksize
;-)

UPDATE: I put the >0 test back in, to remove the rope that might hang someone trying to use a negative size...

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.