[htmltmpl] passing hashref to param
Brought to you by:
samtregar
From: Andrew B. <an...@br...> - 2003-03-12 00:45:36
|
Hello- Using DBI I have something like this: my $hashref = $dbh->selectrow_hashref($sth); which gives a reference to a hash like { column1 => foo, column2 => bar, ... } This is exactly what I want to pass to HT. How can I do this without dereferencing $hashref? Sort of like: $tmpl->param($hashref); Thanks |