This seems simple, but has me stumped. I am creating a simple (50 or 60 lines of code) image gallery (yawn) for our graphic designers and I'd like to create columns as to maximize the browser real estate. Right now it just places them one after another in a single column. Like Carl Sagan said, "It's an awful waste of space."
The images from the dir they choose are globbed into an array (@pics). But I can't seem to figure out, with either array references or splicing, how to only meter out only 5 pics per row before creating a new row <tr> and continuing on metering out the array. I've surveyed other image galleries (Image Folio, Schwartz's, etc.) but a simple approach to this (complex?) problem has eluded me. I've been using Perl 'seriously' only about a year now, guess my fundamentals are lacking.
Thanks,
Monk's Cafe