Loading ...
Sorry, an error occurred while loading the content.

Net::Telnet : buffer length exceeded

Expand Messages
  • Hashmat Khan
    HI All, I am using Net::Telnet. $ok = $t- cmd(String = $bldcmd); $bld_line = $t- getline; while($bld_line =~ /Build completed on|Build failed on/) { $bld_line
    Message 1 of 1 , Aug 11, 2008
    • 0 Attachment
      HI All,

      I am using Net::Telnet.

      $ok = $t->cmd(String => $bldcmd);

      $bld_line = $t->getline;

      while($bld_line =~ /Build completed on|Build failed on/)
      {
      $bld_line = $t->getline;
      }

      For this I am getting the following error:
      maximum input buffer length exceeded: 1048576 bytes at D:\Docs\Perl\scripts\ti_p2k_bld.pl line 33

      How can I solve this issue without increasing the input buffer size ? because I really can't say on the size of input buffer size because it can grow upto 5MB or more.

      thanks,
      Hashmat



      Send instant messages to your online friends http://uk.messenger.yahoo.com

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.