Created
September 15, 2014 18:52
-
-
Save blabos-zz/eee8e58b50a653675167 to your computer and use it in GitHub Desktop.
This file contains 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 Role; | |
use Moo::Role; | |
requires qw{ foo bar }; | |
1; | |
### | |
package Foo; | |
use Moo; | |
with 'Role'; | |
sub foo { } | |
sub bar { } | |
1; | |
### | |
package Bar; | |
use Moo; | |
with 'Role'; | |
sub foo { } | |
1; | |
### Funciona | |
carton exec -- perl -MFoo -E '' | |
### Não Funciona | |
carton exec -- perl -MBar -E '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment