It's a lot more timely to worry about efficiency after you have some working code.
In reply to Re: Perl code for a Histogram by ww in thread Perl code for a Histogram by krish28