# make an array reference: my $ref = \@rry; # # or an anoonymous array: my $ref2=[ "stuff", "things", "goodies"]; If I have a function returning an arrey reference: my $rows=$sth->fetchall_arrayref; #### my @array=@{$sth->fetchall_arrayref}; #### $template->param(selscene => [ @array ] );