Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 74884
Status: new
Priority: 0/
Queue: Mouse

People
Owner: Nobody in particular
Requestors: paul [...] g-e-n-i-u-s.com
Cc:
AdminCc:

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



Subject: Mouse/Moose incompatibility - init_meta not exported by Mouse::Exporter
Date: Sat, 11 Feb 2012 16:13:08 -0800
To: bug-mouse [...] rt.cpan.org
From: Paul Wallingford <paul [...] g-e-n-i-u-s.com>
I've distilled this down as much as I could to demonstrate the issue. This is preventing me from substituting Mouse for Moose in Mason 2, so any suggestions on a patch to get this working would be great. Thanks. -> perl -e 'use Moose; print $Moose::VERSION . "\n";' 2.0401 -> cat ./test-moose #!/usr/bin/perl use Moose::Exporter; Moose::Exporter->setup_import_methods( class_metaroles => { class => [] } ); init_meta(); print "OK\n"; -> ./test-moose OK -> perl -e 'use Mouse; print $Mouse::VERSION . "\n";' 0.97 -> cat ./test-mouse #!/usr/bin/perl use Mouse::Exporter; Mouse::Exporter->setup_import_methods( class_metaroles => { class => [] } ); init_meta(); print "OK\n"; -> ./test-mouse Undefined subroutine &main::init_meta called at ./test-mouse line 8.