Created
May 17, 2009 16:47
-
-
Save lestrrat/113051 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 Role1; | |
use Moose::Role; | |
has 'foo'; | |
package Role2; | |
use Moose::Role; | |
has foo => (isa => 'Int'); | |
package FooBar; | |
use Moose; | |
with 'Role2'; | |
package main; | |
FooBar->new(foo => "0"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment