Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: (Moose/Hash): Can't call method "kv" on unblessed reference

by ikegami (Patriarch)
on Nov 17, 2011 at 00:18 UTC ( [id://938493]=note: print w/replies, xml ) Need Help??


in reply to (Moose/Hash): Can't call method "kv" on unblessed reference

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.

Replies are listed 'Best First'.
Re^2: (Moose/Hash): Can't call method "kv" on unblessed reference
by sundialsvc4 (Abbot) on Nov 17, 2011 at 01:08 UTC
    Links removed.   Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://938493]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found