From: Chris Prather Date: Sun, 16 Oct 2011 04:15:46 +0000 (-0400) Subject: fix the erroneous ->kv call in the docs X-Git-Tag: 2.0601~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f4720cd35094f7dae5e1f2fd7745bf9259606c46;p=gitmo%2FMoose.git fix the erroneous ->kv call in the docs --- diff --git a/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm b/lib/Moose/Meta/Attribute/Native/Trait/Hash.pm index 34b2998..6d84672 100644 --- 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"; }