Subject: | namespace::clean breaks attribute aliases |
Perl: 5.16.3, 5.18.2
Moo: 1.004002
namespace::clean: 0.25
I'm not sure whose bug/feature this is or whether its just a
misunderstanding on my part:
package Foo;
use Moo;
use MooX::Aliases;
use namespace::clean;
has r0 => ( is => 'ro', required =>1, alias => 'rho0' );
Foo->new( rho0 => 1 );
results in
Missing required arguments: r0 at (eval 41) line 38.
If namespace::clean is specified before MooX::Aliases, it works.