Help for this page

Select Code to Download


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