Shouldn't this work in that case?
my $args = {};
my @list = $DB->table('Online')->select( { guest_id_fk => 0, online_invisible => 0 } )->fetchall_list;
$args->{mylist} = join ', ', @list;
return ($tpl,$args);
?
I get an unknown tag error for <%mylist%>
Code:
my $tpl = shift; my $args = {};
my @list = $DB->table('Online')->select( { guest_id_fk => 0, online_invisible => 0 } )->fetchall_list;
$args->{mylist} = join ', ', @list;
return ($tpl,$args);
?
I get an unknown tag error for <%mylist%>