projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix the erroneous ->kv call in the docs
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Attribute
/
Native
/
Trait
/
Hash.pm
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
b/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
index
34b2998
..
6d84672
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/Hash.pm
@@
-96,7
+96,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->kv ) {
+ for my $pair ( $object->option_pairs ) {
print "$pair->[0] = $pair->[1]\n";
}