I have file:
PHI: 15 CA: 32 NY: 14 PHI: 35 NY: 11 CA: 22 NY: 23 CA: 36
I need to put it into hash. Key – State, Value – Number (Average Value!!!)
So in output I should have:
PHI:25 CA:30 NY:16
Thanks for letting us know about your needs. Out of curiosity, when will you start the coding work? Do you possibly intend to share with us the result of your efforts?
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>