On Friday, April 12, 2002, at 03:56 , Mark. wrote:
> apples, melon, oranges, pears, coconut, lemons, grapefruit > 4, 3, 2, 7, 1, 4, 0 > 3, 1, 4, 4, 0, 0, 1 > 0, 4, 0, 0, 4, 5, 0 http://www.wetware.com/drieux/CS/lang/Perl/Beginners/FruitPickFromCVS.txt offers an illustration about how this problem can be solved. To test the sub get_store_hash - I of course pass in the file to be parsed - expecting to get a hash back. hence how some ever one wished to tie the store data file to the hash is up to the user.... and since one can index into the returned hash knowing $count_o_fruit = $retHash{ $fruit } ; the rest is merely option picking for command line parsing... and "so given <N> hashes of arbitrary size how does one pick out the common values...." ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]