Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Grouping multiple records in a row...templating ?

by gav^ (Curate)
on Apr 18, 2002 at 16:55 UTC ( [id://160267]=note: print w/replies, xml ) Need Help??


in reply to Re: Grouping multiple records in a row...templating ?
in thread Grouping multiple records in a row...templating ?

Without using HTML::Template::Expr or making the assumption that id's are sequential (which has bitten me before) you can do something like this in your Perl code:
$_->{nextrow) = ($i++ % 3) for @pictures;

Hope this helps.

gav^

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://160267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found