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 (Priest)
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?
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 musing on the Monastery: (7)
As of 2014-12-20 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls