I asked around and crazyinsomniac suggested a sample data and layout example to help explain what I am asking for, so here it is:
data.dat
--------
id|picture|name
1|seans.gif|Sean Shrum
2|steves.gif|Steve Shrum
3|dianas.gif|Diana Shrum
4|marthas.gif|Martha Shrum

Laying out the about data in a straight 1 x format is simple, I can do this myself without the aid of a templating module like:

1 - PICTURE - Sean Shrum
2 - PICTURE - Steve Shrum
3 - PICTURE - Diana Shrum
4 - PICTURE - Martha Shrum

...but what I want to be able to do is place X records in a row. The layout would be defined in a record template but ultimately would allow me to produce something like (if I wanted 3 to a row):

   PICTURE           PICTURE            PICTURE
1 - Sean Shrum   2 - Steve Shrum    3 - Diana Shrum

    PICTURE
4 - Martha Shrum

I'm half-way tempted to just code the thing myself. I already do page nesting via s// using tokens and field replacements via field tokens. This is simply a issue of knowing when to insert the /TR tag. But I regress...is there a module that would allow me to do something like this. I have looked over the HTML::Template documentation and from the looks of it, it cannot do this sort of layout.

If I am incorrect, please point me to a sample template and code snippet that demonstrates this implementation. Granted, HTML::Template would be great since it was a easy install. However, if I am correct, can someone point me to a module that acheives this. I have no issues with dropping HTML::Template like an IPO from a new internet company (in todays market) to switch to something else.

TIA - All input is welcome.

======================
Sean Shrum
http://www.shrum.net


In reply to Grouping multiple records in a row...templating ? by S_Shrum

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.