Robert,
I'd wager a guess that you're checked for % 2 to flag alternating rows differently
when you output them, such as background colouring or something.
If that's all your doing (or some similar design aspect not related to code in anyway,
I would suggest the end part of your attu_all function look something like:
=================
my @array;
push @array, $_ while( $sth->fetchrow_hashref );
return [EMAIL PROTECTED];
=================
Then in your main run_mode you would call:
==============
my $list = attu_all( $arguments, $go, $here, $etc );
# load your H:T object
$t->param( 'list' => $list );
==============
Then in your .tmpl file, something like this
<tmpl_loop name='list'>
<tmpl_if name='__ODD__'>
ODD ROW - <tmpl_var name='first_name'> <tmpl_var name='surname'>
<tmpl_else>
EVEN ROW - <tmpl_var name='first_name'> <tmpl_var name='surname'>
</tmpl_if>
</tmpl_loop>
Hope that helps
---
Steve Comrie