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

Report information
The Basics
Id:
69084
Status:
open
Priority:
Low/Low
Queue:

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

BugTracker
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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 355
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
From thoughtstream@gmail.com Tue Jun 28 13: 53:19 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.784 tagged_above=-99.9 required=10 tests=[AWL=-0.675, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RFC_ABUSE_POST=0.001, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-9060-1308968527-712.69084-4-0@rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-69084@rt.cpan.org> <rt-3.8.HEAD-9060-1308968527-712.69084-4-0@rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <BANLkTikXtk1WsGmEbg7QFKQjDDYiUWxTyw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.784
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=thoughtstream@gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 3FDA924032D for <cpan-bug+IO-Prompt@hipster.bestpractical.com>; Sat, 25 Jun 2011 07:15:15 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i-jajUQAZBVp for <cpan-bug+IO-Prompt@hipster.bestpractical.com>; Sat, 25 Jun 2011 07:15:12 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5557F240335 for <bug-IO-Prompt@rt.cpan.org>; Sat, 25 Jun 2011 07:15:12 -0400 (EDT)
Received: (qmail 22858 invoked by uid 103); 25 Jun 2011 11:15:11 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 25 Jun 2011 11:15:11 -0000
Received: from mail-iy0-f178.google.com (HELO mail-iy0-f178.google.com) (209.85.210.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sat, 25 Jun 2011 04:15:07 -0700
Received: by iyb26 with SMTP id 26so3362307iyb.9 for <bug-IO-Prompt@rt.cpan.org>; Sat, 25 Jun 2011 04:15:04 -0700 (PDT)
Received: by 10.42.29.201 with SMTP id s9mr4427232icc.188.1309000503118; Sat, 25 Jun 2011 04:15:03 -0700 (PDT)
Received: by 10.42.96.3 with HTTP; Sat, 25 Jun 2011 04:14:23 -0700 (PDT)
Delivered-To: cpan-bug+IO-Prompt@hipster.bestpractical.com
Subject: Re: [rt.cpan.org #69084] Doesn't work on 5.14 if you call prompt() in non-"main" package
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=TeoXWBB45bdfDrhpHUNotB/n+bNm3j7okiesXq5cNphtXxGeD1KBMJ5sLvriHxEAya 2H/JtA5Yq/v9KDHQ02yOv/6C1/iKPz1+bvDVjqiPu2Wi12/A46+UEJnaX6on8GOnHEgh X5cexKcjc2nQKt2EreO33jwPPMfwOLHXQ/Hbw=
Return-Path: <thoughtstream@gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type; bh=wmgNOYaYflaKF4NVoeL8wB3B8v7uVZAJlSuMeMkMPss=; b=YSJSD5TmJERjHW493zldib/93yYGnxBexqcrH5UCslGOyfvkBXA54eEfUbjUyyvRL4 xeQqUs7C8G7Hi4DiCNnb52EXBvcOSVRUPujLRAhaHvQJ2kjJOnb916QyyyjzHWDHZRio 2QDk7AofdrP5cZxqoNPWA5CPY8gdgMl4F4EkE=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+IO-Prompt@hipster.bestpractical.com
X-RT-Mail-Extension: io-prompt
X-Google-Sender-Auth: ABlcaxc7OZkRGx4rjFiAGxaV2-E
Sender: thoughtstream@gmail.com
Date: Sat, 25 Jun 2011 21:14:23 +1000
X-Spam-Level:
To: bug-IO-Prompt@rt.cpan.org
From: Damian Conway <damian@conway.org>
RT-Message-ID: <rt-3.8.HEAD-9063-1309283599-1628.69084-0-0@rt.cpan.org>
Content-Length: 184
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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.