Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-10-24 11:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.