From: gfx Date: Wed, 23 Sep 2009 06:00:20 +0000 (+0900) Subject: Add placeholders of augment() and inner() to Mouse.pm X-Git-Tag: 0.33~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2cb8b71324c7f194f869b2633b2fd7be1e669c60;p=gitmo%2FMouse.git Add placeholders of augment() and inner() to Mouse.pm --- diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 44a0c7e..5d2903d 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -20,7 +20,15 @@ use Mouse::Meta::Attribute; use Mouse::Object; use Mouse::Util::TypeConstraints (); -our @EXPORT = qw(extends has before after around override super blessed confess with); +our @EXPORT = qw( + extends with + has + before after around + override super + augment inner + + blessed confess +); our %is_removable = map{ $_ => undef } @EXPORT; delete $is_removable{blessed}; @@ -97,6 +105,9 @@ sub override { }); } +sub inner { not_supported } +sub augment{ not_supported } + sub init_meta { shift; my %args = @_; diff --git a/lib/Mouse/Role.pm b/lib/Mouse/Role.pm index 9872397..4f02065 100644 --- a/lib/Mouse/Role.pm +++ b/lib/Mouse/Role.pm @@ -10,6 +10,19 @@ use Mouse::Util qw(load_class not_supported); use Mouse (); our @EXPORT = qw(before after around super override inner augment has extends with requires excludes confess blessed); + +our @EXPORT = qw( + extends with + has + before after around + override super + augment inner + + requires excludes + + blessed confess +); + our %is_removable = map{ $_ => undef } @EXPORT; delete $is_removable{confess}; delete $is_removable{blessed};