From: Shawn M Moore <sartak@gmail.com>
Date: Sat, 28 Mar 2009 20:46:18 +0000 (-0400)
Subject: Use $META since we have it
X-Git-Tag: 0.73_01~36^2~23
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=278ca49cd5b1fb8c6d79cfbdc61d2e4c8deac378;p=gitmo%2FMoose.git

Use $META since we have it
---

diff --git a/lib/Moose/Meta/Role.pm b/lib/Moose/Meta/Role.pm
index 7738207..05e4c05 100644
--- 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 { [] }
 ));