in reply to generating a large list of names to be displayed neatly in HTML
The easiest way is to use HTML::Template Check out the LOOP function.
You will need to organize your data into an AoH. Then simply pass a AoH reference to the template.