I do it like this: my $row = $self->dbh->selectrow_hashref('SELECT age, day FROM table WHERE id = ?', { }, $self->session->param('cell')->{'sid'} ); $template->param( TITLE => "Page Title", %$row, ); mike