On 10/04/2012 02:36 PM, Chad Wallace wrote:
########## Rendering code for the page ################ my $file = 'templates/shift_rpt.html'; my $vars = { #'cgi' =>CGI->new(), 'factories' => \@rows_factory, # This moves the data from [...] 'shifts' => \$row_shift # This moves the custom shifts [...]Try \@rows_shift
That was originally the way I had it. I was doing essentially what I had done with the previous SQL statement, going to each row and pushing it into an array. For some reason, it doesn't work the same way.
-- Mark Haney Software Developer/Consultant AB Emblem [email protected] Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
