I just posted another example as a reply to 'Answer: I need an array of filehandles'.
It's pretty much the same thing, but spaces it out a little more, and shows you how you can use an array handle with an index or a hash with an index as well (instead of just scalars as file handles).