in reply to
Running Total Array or Hash
Without seeing your input file or the output you desire, it is hard to give a code example. However, I think a hash might be preferable to an array due to potentially easier access.
perlintro
Comment on
Re: Running Total Array or Hash
In Section
Seekers of Perl Wisdom