Skip Menu |

This queue is for tickets about the Module-UseFrom CPAN distribution.

Report information
The Basics
Id: 83720
Status: open
Priority: 0/
Queue: Module-UseFrom

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

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



Subject: Get error 'could not eval [...]' on Perl 5.16.2
I tried running the following: use strict; use warnings; use Module::UseFrom; our $var; BEGIN { $var = 'Module::Path'; } use_from $var 'module_path'; print "path = ", module_path('Module::Path'), "\n"; When I run this, it first sat there for ages, then I got the following output, which doesn't make a lot of sense to me! Could not eval ' package ExtUtils::MakeMaker::_version; no strict; BEGIN { eval { # Ensure any version() routine which might have leaked # into this package has been deleted. Interferes with # version->import() undef *version; require version; "version"->import; } } local $VERSION; $VERSION=undef; do { our Readonly::Scalar $VERSION = 0.0577; }; $VERSION; ' in /usr/local/lib/perl5/site_perl/5.16.2/Lingua/Word2Num.pm: No such class Readonly::Scalar at (eval 4010) line 16, near "{ our Readonly::Scalar"
Subject: Re: [rt.cpan.org #83720] Get error 'could not eval [...]' on Perl 5.16.2
Date: Fri, 1 Mar 2013 15:35:40 -0600
To: bug-Module-UseFrom [...] rt.cpan.org
From: Joel Berger <joel.a.berger [...] gmail.com>
Well that sure is odd. To tell the truth, I'm not sure this module is that great of an idea. Certainly its no better than an experiment in Devel::Declare. I guess I will look at this when I get a chance, but my backlog is a mile long right now. Thanks for the report anyway, and if you would like to dive into it before I get a chance, feel free. Cheers, Joel On Fri, Mar 1, 2013 at 3:30 PM, Neil_Bowers via RT < bug-Module-UseFrom@rt.cpan.org> wrote: Show quoted text
> Fri Mar 01 16:30:03 2013: Request 83720 was acted upon. > Transaction: Ticket created by NEILB > Queue: Module-UseFrom > Subject: Get error 'could not eval [...]' on Perl 5.16.2 > Broken in: 0.03 > Severity: Critical > Owner: Nobody > Requestors: NEILB@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83720 > > > > I tried running the following: > > use strict; > use warnings; > use Module::UseFrom; > our $var; > BEGIN { > $var = 'Module::Path'; > } > use_from $var 'module_path'; > print "path = ", module_path('Module::Path'), "\n"; > > When I run this, it first sat there for ages, then I got the following > output, which doesn't make > a lot of sense to me! > > Could not eval ' > package ExtUtils::MakeMaker::_version; > no strict; > BEGIN { eval { > # Ensure any version() routine which might have leaked > # into this package has been deleted. Interferes with > # version->import() > undef *version; > require version; > "version"->import; > } } > > local $VERSION; > $VERSION=undef; > do { > our Readonly::Scalar $VERSION = 0.0577; > }; > $VERSION; > ' in /usr/local/lib/perl5/site_perl/5.16.2/Lingua/Word2Num.pm: > No such class > Readonly::Scalar at (eval 4010) line 16, near "{ > our Readonly::Scalar" >