Skip Menu |

This queue is for tickets about the POE-Component-Client-Telnet CPAN distribution.

Report information
The Basics
Id: 31119
Status: new
Priority: 0/
Queue: POE-Component-Client-Telnet

People
Owner: Nobody in particular
Requestors: yshtil [...] cisco.com
Cc:
AdminCc:

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



Subject: List return value truncated
Date: Fri, 30 Nov 2007 16:12:42 -0800
To: bug-POE-Component-Client-Telnet [...] rt.cpan.org
From: Yuri Shtil <yshtil [...] cisco.com>
Some Net::Telnet methods return value depending on context. It looks like the list context is requested but not all values returned. For example waitfor only returned $prematch, x $ref 0 HASH(0x90f4f30) 'args' => ARRAY(0x90e3938) 0 'Match' 1 'm{(?:>$)}' 2 'Timeout' 3 3 'callback' => 'dispatch' 'result' => ' golden-1-term' 'sess' => 4 'state' => 'waitfor' The actual input was: golden-1-term> I can come up with a simple test case if you wish. If one matches multiple tokens and wants to take different action depending on what matched, this is a serious problem. -- Yuri Shtil