You're trying to call kv on the hash ref returned by $object->k. Not gonna happen. Unblessed hash refs don't have methods.
You mean to call a method you created for $object that's not even named kv.
$object->option_pairs
PS — All your links are broken.
In reply to Re: (Moose/Hash): Can't call method "kv" on unblessed reference
by ikegami
in thread (Moose/Hash): Can't call method "kv" on unblessed reference
by locked_user sundialsvc4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |