Skip Menu |

This queue is for tickets about the IO-Prompter CPAN distribution.

Report information
The Basics
Id: 80687
Status: open
Priority: 0/
Queue: IO-Prompter

People
Owner: Nobody in particular
Requestors: jffry [...] posteo.net
Cc:
AdminCc:

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



Subject: Doesn't work under XP (strawberry perl portable)
Pressing any key at a prompt results in: Use of uninitialized value in string eq at D:/strawberry-perl-5.16.2.1-64bit-portable/perl/site/lib/IO/Prompter.pm line 1220. Use of uninitialized value in string eq at D:/strawberry-perl-5.16.2.1-64bit-por table/perl/site/lib/IO/Prompter.pm line 1309. Use of uninitialized value in string eq at D:/strawberry-perl-5.16.2.1-64bit-por table/perl/site/lib/IO/Prompter.pm line 1343. The keypress is ignored; you can't ctrl-c and have to kill the process.
Subject: Re: [rt.cpan.org #80687] Doesn't work under XP (strawberry perl portable)
Date: Thu, 8 Nov 2012 14:56:47 +1100
To: bug-IO-Prompter [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks for the update, Jeff. It seems that Term::ReadKey::GetControlChars() is not returning anything useful under your system. Unfortunately I don't have (or want ;-) access to a Windows platform to debug this. I have attempted to patch the module to ensure sensible defaults for the missing information, but have no idea whether those sensible (i.e. UNIX-y) defaults make sense under Windows. If you would like to try the attached version of Prompter.pm and let me know if it helps, I'd be most grateful. Damian

Message body is not shown because sender requested not to inline it.