projects
/
gitmo/MooseX-AttributeHelpers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
169f94b
)
elements takes no extra argument
Shawn M Moore [Thu, 22 May 2008 23:28:34 +0000 (23:28 +0000)]
lib/MooseX/AttributeHelpers/MethodProvider/List.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/AttributeHelpers/MethodProvider/List.pm
b/lib/MooseX/AttributeHelpers/MethodProvider/List.pm
index
b34fba2
..
82a1274
100644
(file)
--- a/
lib/MooseX/AttributeHelpers/MethodProvider/List.pm
+++ b/
lib/MooseX/AttributeHelpers/MethodProvider/List.pm
@@
-48,7
+48,7
@@
sub grep : method {
sub elements : method {
my ($attr, $reader, $writer) = @_;
return sub {
- my ($instance, $f) = @_;
+ my ($instance) = @_;
@{$reader->($instance)}
};
}