<?xml version="1.0" encoding="windows-1252"?>
<node id="998273" title="Occurence List" created="2012-10-10 13:45:27" updated="2012-10-10 13:45:27">
<type id="115">
perlquestion</type>
<author id="998269">
Hopfi</author>
<data>
<field name="doctext">
Hi PerlMonks!

I was wondering if there is a way in perl to make a list which counts each occurence of a value. I want to use it to make a picture encrypter. So it should make a color 
occurence list like this: 
&lt;code&gt;
ID  Occurence
255 625
212 365
220 186
219 135
169 132
227 116
213 115
234 21
205 18
184 15
&lt;/code&gt;
Any idea how this could be done?

Cheers 
</field>
</data>
</node>
