View Single Post
  #2  
Old 03-11-2008, 05:33 PM
Kagehi
Sarnak
 
Join Date: Feb 2008
Location: Arizona, USA
Posts: 33
Default

Ok. Did some tests in a nice text based client, which supports Perlscript. After some nightmares trying to figure out why it wasn't working, I got these results:

Code:
Looking for                    Found                         Result
----------                    ------                         ------
1234 => 1                    1234 => 4                    Fail
1234 => 4                    1234 => 1                    Fail
1234 => 1                    1234 => 1                    Success
This is obviously not as bad as I was expecting, but it still means that you can't, for example, ask for 1234 => 2, and have someone give you '1234 => 1, 1234 => 1'. Its not testing how many you have, just if the hashes are exact matches, with both the keys *and* the values. This is flawed imho, even if it does prevent huge errors.
Reply With Quote