Skip Menu |

This queue is for tickets about the Any-Moose CPAN distribution.

Report information
The Basics
Id: 75761
Status: rejected
Priority: 0/
Queue: Any-Moose

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

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



Subject: import only any_moose
Date: Tue, 13 Mar 2012 20:44:19 -0500
To: bugs-any-moose [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
use Test::Most; use Any::Moose qw( any_moose ); use Module::Runtime qw( use_module ); my $tmoose = 'Test::' . any_moose; use_module( $tmoose ); Can't locate Mouse/any_moose.pm in @INC (@INC contains: /home/ccushing/WWW-Comodo/lib /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2 /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Any/Moose.pm line 148. if I use just use Any::Moose this works. -- Caleb Cushing http://xenoterracide.com
On 2012-03-13 18:44:28, XENO wrote: Show quoted text
> use Test::Most; > use Any::Moose qw( any_moose ); > use Module::Runtime qw( use_module );
Show quoted text
> if I use just use Any::Moose this works.
I don't think this is possible based on how import's arguments are currently used. Regardless, the documentation for this distribution has now been stripped and a deprecation notice erected, so it's probably too late to change the API. :)