The example in the documentation should probably read:
for my $pair ( $object->option_pairs ) { print "$pair->[0] = $pair->[1]\n"; }
Is that clearer?
Improve your skills with Modern Perl: the free book.
In reply to Re: (Moose/Hash): Can't call method "kv" on unblessed reference
by chromatic
in thread (Moose/Hash): Can't call method "kv" on unblessed reference
by locked_user sundialsvc4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |