Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Can't use string as a HASH ref

by RichardK (Parson)
on May 16, 2014 at 17:01 UTC ( #1086362=note: print w/ replies, xml ) Need Help??

in reply to Can't use string as a HASH ref

keys %{quantum{$id}} returns a list of key names not references, so $a->{...} doesn't make any sense in that sort. Have a look at the help for keys for an example of how to sort by key. I'm not sure what you are trying to do , so I can't suggest how to fix it. How about showing us some sample data and what results you expect?

Comment on Re: Can't use string as a HASH ref

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2016-06-01 08:45 GMT
Find Nodes?
    Voting Booth?

    No recent polls found