> > you passed the array instead of the array reference > >> $template -> param(pagetitle => "Search Results", >> showlist => @$allshows); > ^^^^ > > this is probably the correct one: > > $template -> param(pagetitle => "Search Results", > showlist => $allshows); > > > Gabor >
Well, now I get: "Single reference arg to param() must be a hash-ref! You gave me a ARRAY" I guess I don't know how to go from @$array to $array as a ref. A Perlie question. Maybe I need to head over to the Monastery. Again, the salient code is: my $allshows; push @$allshows, $sth->fetchall_arrayref({}); $template -> param( showlist => $allshows); Thanks all. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users