projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
37b3097
)
Use $META since we have it
Shawn M Moore [Sat, 28 Mar 2009 20:46:18 +0000 (16:46 -0400)]
lib/Moose/Meta/Role.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Role.pm
b/lib/Moose/Meta/Role.pm
index
7738207
..
05e4c05
100644
(file)
--- a/
lib/Moose/Meta/Role.pm
+++ b/
lib/Moose/Meta/Role.pm
@@
-256,7
+256,7
@@
sub update_package_cache_flag {
## ------------------------------------------------------------------
## subroles
-__PACKAGE__->meta->add_attribute('roles' => (
+$META->add_attribute('roles' => (
reader => 'get_roles',
default => sub { [] }
));