Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-06-29 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (368 votes). Check out past polls.