Skip to content

Instantly share code, notes, and snippets.

@jjn1056
Created July 1, 2010 21:08
Show Gist options
  • Save jjn1056/460567 to your computer and use it in GitHub Desktop.
Save jjn1056/460567 to your computer and use it in GitHub Desktop.
method method_with_two_is_param_traits () is Moody
is Label(label => 'happy') {
return 1;
}
## Label looks like:
use Moose::Role;
has label => (
is => 'rw',
isa => 'Str',
predicate => 'has_label'
);
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment