Skip Menu |

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

Report information
The Basics
Id: 69084
Status: open
Priority: 0/
Queue: IO-Prompt

People
Owner: Nobody in particular
Requestors: gfuji [...] cpan.org
Cc:
AdminCc:

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



Subject: Doesn't work on 5.14 if you call prompt() in non-"main" package
Hi, IO::Prompt doesn't work on 5.14 because *X::ARGV->opened() (*ARGV in non- "main" package) no longer call the method as the other symbols does. Use Scalar::Util::openhandle() instead of opened() as the following patch: https://github.com/gfx/p5-IO-Prompt- patched/commit/8300962b0235803287777f78b86aa1776d369769 -- Goro Fuji (gfx) GFUJI at CPAN.org
Subject: Re: [rt.cpan.org #69084] Doesn't work on 5.14 if you call prompt() in non-"main" package
Date: Sat, 25 Jun 2011 21:14:23 +1000
To: bug-IO-Prompt [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Patched for the next release. Many thanks! BTW, IO::Prompt is now deprecated (as far as I am concerned). I recommend IO::Prompter for any Perl version >= 5.10. All the best, Damian