Created
July 1, 2012 21:35
-
-
Save ynonp/3029715 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package R1; | |
use Moose::Role; | |
sub foo { | |
warn 'R1::foo' | |
} | |
package R2; | |
use Moose::Role; | |
sub foo { | |
warn 'R2::foo' | |
} | |
package Test; | |
use Moose; | |
with qw/R1 R2/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment