Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Counting keys in a referenced hash

by mickeyn (Priest)
on Dec 02, 2006 at 20:08 UTC ( #587440=note: print w/ replies, xml ) Need Help??

in reply to Counting keys in a referenced hash

$test doesn't refer to a hash ...
it actually gets the last element from the list which is '3'.

apply the following change:

$test = { test1 => '1', test2 => '2', test3 => '3'};
HTH, Mickey

Comment on Re: Counting keys in a referenced hash
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-11-26 00:45 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls