Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: lutz [...] pacbell.net
Cc:
AdminCc:

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



Subject: "qualify_to_ref" is not exported by the Symbol module
Date: Sat, 4 Aug 2018 05:53:58 +0000 (UTC)
To: "bug-IO-Prompter [...] rt.cpan.org" <bug-IO-Prompter [...] rt.cpan.org>
From: Lutz Filor <lutz [...] pacbell.net>
To whom it might concern,tried to test out this module and got an compile error message. perl -vperl v5.22.1 uname -a4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux error message :: "qualify_to_ref" is not exported by the Symbol moduleCan't continue after import errors at /usr/local/share/perl/5.22.1/IO/Prompter.pm line 10. There are two ways to resolve this issues - patch IO::Prompter Prompter.PM  line 10 use Symbol       qw< qualify_to_ref >;  to  line 10 use Symbol; - patch Symbol.pm   line 7 @EXPORT = qw(gensym ungensym qualify qualify_to_ref);  line 8 @EXPORT_OK = qw(delete_package geniosym);  Solution move qualify_to_ref from 7 to line 8 for export As Symbol.pm is a prerequisite, the first patch is natural, butI assume that Symbol.pm could need a face lift on the API interface Best regardsLutz
Subject: Re: [rt.cpan.org #125996] "qualify_to_ref" is not exported by the Symbol module
Date: Sat, 4 Aug 2018 16:28:55 +1000
To: bug-IO-Prompter [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
I cannot replicate this error under any version of Perl from 5.10 to 5.28. As far as I can detect, Symbol has always exported qualify_to_ref() (at least as far back at Perl 5.10) Is it possible that you have a reeeeeeeally old version of Symbol.pm on your machine? For example, what does: perl -E 'use Symbol; say "version=$Symbol::VERSION from $INC{q{Symbol.pm}}"' tell you? BTW, having qualify_to_ref listed in Symbol.pm's @EXPORT array (rather than it's @EXPORT_OK array) does not prevent it from being imported explicitly. As I cannot replicate the problem and no-one else has reported it in nine years, I suspect something else is going on here. Damian
Subject: Re: [rt.cpan.org #125996] "qualify_to_ref" is not exported by the Symbol module
Date: Fri, 3 Aug 2018 23:48:32 -0700
To: bug-IO-Prompter [...] rt.cpan.org
From: Lutz Filor <lutz [...] pacbell.net>
Thanks for your feedback. I will take a look at it tomorrow. I pointed to the possibility of Symbol.pm and will check it out. - Lutz Show quoted text
> On Aug 3, 2018, at 11:29 PM, damian@conway.org via RT <bug-IO-Prompter@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=125996 > > > I cannot replicate this error under any version of Perl from 5.10 to 5.28. > As far as I can detect, Symbol has always exported qualify_to_ref() > (at least as far back at Perl 5.10) > > Is it possible that you have a reeeeeeeally old version of Symbol.pm > on your machine? For example, what does: > > perl -E 'use Symbol; say "version=$Symbol::VERSION from > $INC{q{Symbol.pm}}"' > > tell you? > > BTW, having qualify_to_ref listed in Symbol.pm's @EXPORT array (rather than > it's @EXPORT_OK array) does not prevent it from being imported explicitly. > > As I cannot replicate the problem and no-one else has reported it in nine > years, I suspect something else is going on here. > > Damian >