projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
77ed8b8
)
We need to say new -> _new? what's the better way of doing this?
Shawn M Moore [Sat, 30 May 2009 19:05:34 +0000 (15:05 -0400)]
lib/Moose/Meta/Role/Method/Required.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Role/Method/Required.pm
b/lib/Moose/Meta/Role/Method/Required.pm
index
70e2186
..
f1680ba
100644
(file)
--- a/
lib/Moose/Meta/Role/Method/Required.pm
+++ b/
lib/Moose/Meta/Role/Method/Required.pm
@@
-19,6
+19,8
@@
our $AUTHORITY = 'cpan:STEVAN';
__PACKAGE__->meta->add_attribute('name' => (reader => 'name'));
+sub new { shift->_new(@_) }
+
1;
__END__