Of course it is possible to fill the slots of a hash in a loop. Where are you encountering problems?
In reply to Re: Filling a hash in loop by Corion in thread Filling a hash in loop by CropCircle