Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Issues with Hashes

by ssandv (Hermit)
on Mar 23, 2010 at 17:38 UTC ( #830350=note: print w/ replies, xml ) Need Help??

in reply to Issues with Hashes

sort keys is the answer to the first part. sort is pretty useful for getting a list in order, and pretty powerful in that it lets you use your own sort order if you want.

As for the second part, $Verbs{$cmd} will be a hashref (the value associated with the key $cmd ), and you can then look at $Verbs{$cmd}{discrete} to see the value there.

Comment on Re: Issues with Hashes
Select or Download Code
Replies are listed 'Best First'.
Re^2: Issues with Hashes
by jedikaiti (Friar) on Mar 23, 2010 at 18:19 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2015-12-01 19:05 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (25 votes), past polls