Skip Menu |

This queue is for tickets about the Net-Telnet CPAN distribution.

Report information
The Basics
Id: 52443
Status: rejected
Priority: 0/
Queue: Net-Telnet

People
Owner: Nobody in particular
Requestors: info [...] newzi.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error (Timeout) in Telnet.pm line 1236
Date: Fri, 04 Dec 2009 16:14:49 -0500
To: bug-Net-Telnet [...] rt.cpan.org
From: Benoit Quenneville <info [...] newzi.com>
Error (Timeout) in Telnet.pm line 1236 1236. elsif (/^-?timeout$/i) { $timeout = &_parse_timeout($self, $args{$_}); } Replace by 1236. elsif (/^-?timeout$/i) { $self->timeout($args{$_}); $timeout = $self->timeout; } That cause an error with the setting of the timeout ! Best regards ! Benoit Quenneville
Except for host, the parameters to open() only override the values set in the object, so specifying a timeout for open() is only valid for that call. Use $telnet->timeout to set the value in the object.