Skip Menu |

This queue is for tickets about the Term-Completion CPAN distribution.

Report information
The Basics
Id: 83424
Status: resolved
Priority: 0/
Queue: Term-Completion

People
Owner: Marek.Rouchal [...] gmx.net
Requestors: jag [...] open.ch
Cc:
AdminCc:

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



Subject: Bug in Term::Completion
Date: Mon, 18 Feb 2013 10:05:06 +0100
To: bug-Term-Completion [...] rt.cpan.org
From: James Guthrie <jag [...] open.ch>
Hi Marek, I just stumbled across your module the other day. It's a great tool to use and I have already extended it by writing a sub-module. The first thing I stumbled across when I started using it was a bug which has probably been introduced since Perl 5.12. The Bug is reproducible by performing the following steps: 1. Create new Term::Completion instance. 2. Call $tc->complete(); 3. Enter text and press the up arrow. The output I see is: Use of "goto" to jump into a construct is deprecated at /Library/Perl/5.12/Term/Completion.pm line 266. The workaround I employed was to copy-paste the code referred to by the goto at the position of the goto. My system specs: Perl: v5.12.4 Darwin mac-jag.open.ch 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64 Regards, James Guthrie
Fixed in Term-Completion-1.00, just uploaded to CPAN. Thanks for the bug report and/or patch!