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