- or download this
$myarrayref = [
{ NAME => 'Bob' , JOB => 'Programmer'} ,
{ NAME => 'Bill' , JOB => 'Manager'} ,
];
- or download this
$template->param( EMPLOYEE_INFO => $myarrayref);
- or download this
# Create statement handle
$sth = $dbh->prepare($somesql);
...
# clean up statement handle
$sth->finish();
- or download this
$template->param(EMPLOYEE_INFO => $myarrayref);