From: Ricardo Signes Date: Sat, 4 Dec 2010 02:56:33 +0000 (-0500) Subject: correct method call in Hash trait documentation X-Git-Tag: 1.9900~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a4f9cc8049813705cf6306525d519ff763770292;p=gitmo%2FMoose.git correct method call in Hash trait documentation --- diff --git a/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm b/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm index b5b0dc6..cea3fb6 100644 --- 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"; }