I was hoping to play with role examples with MooseX::Declare but couldn't
figure out how to exclude or alias methods (didn't look into that much,
though). Is this supported yet? If so, how would I write the following?
package PracticalJoke;
use Moose;
with ‘Bomb’ => { exclude => ‘explode’ },
‘Spouse’ => { alias => { ‘fuse’ => ‘random_fuse’ };
Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6