projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
805e018
)
correct method call in Hash trait documentation
Ricardo Signes [Sat, 4 Dec 2010 02:56:33 +0000 (21:56 -0500)]
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
b/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
index
b5b0dc6
..
cea3fb6
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
@@
-102,7
+102,7
@@
This method does not accept any arguments.
Returns the key/value pairs in the hash as an array of array references.
- for my $pair ( $object->options->pairs ) {
+ for my $pair ( $object->options->kv ) {
print "$pair->[0] = $pair->[1]\n";
}