What is the best way to compare hash of arrays against each 
other?  Actually, a better way to ask my question would be...

I have a hash called %player_info that contains 4 elements per hash 
reference.  I want to compare just the key of the hash against against 
another hash that I will build from replies from the client (yes's and 
no's).  Difficult to follow?  Let me explain what I am trying to accomplish:

I am building a voting script.  This is particularly tough because of the 
things I need to pay attention to such as disallowing corrupt votes by 
someone voting multiple times.  What I want to do is allow players to 
revote.  Their new vote will simply overwrite the first vote.  There is a 
list of other things I want to do but these things all pivot around how I 
am going to do comparisons.

I perhaps haven't asked this question in the best way but I hope the 
question is understood.  Any thoughts and assistance would be greatly 
appreciated.

TIA!



- Jim

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
http://www.perlmonks.org/index.pl?node_id=67861&lastnode_id=67861

-----BEGIN PERL GEEK CODE BLOCK-----      ------BEGIN GEEK CODE BLOCK------
Version: 0.01                             Version: 3.12
P++>*@$c?P6?R+++>++++@$M                  GIT/CM/J d++(--) s++:++ a-
 >++++$O!MA->++++E!> PU-->+++BD            C++++(+) UB++++$L++++$S++++$
$C-@D!>++++(-)$S++++@$X?WP+>++++MO!>+++   P++(+)>+++++ L+++(++++)>+++++$ !E*
+PP+++>++++n-CO?PO!o >++++G               W++(+++) N+ o !K w--- PS---(-)@ PE
 >*(!)$A-->++++@$Ee---(-)Ev++uL++>*@$uB+   Y+>+++ PGP t+(+++)>+++@ 5- X++ R@
 >*@$uS+>*@$uH+uo+w-@$m!                   tv+ b? DI-(+++) D+++(++) G(++++)
------END PERL GEEK CODE BLOCK------      ------END GEEK CODE BLOCK------


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to