in reply to Trouble with TMPL_LOOP assignment
to see what you've got. Also to get interesting info about what went wrong,use Data::Dumper; print Dumper(\@liblog);
at the head of your script will give you the useful HTML::Template error info, inter alia.use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser warningsToBrowser); print header;
for my $item (@log) { $item->{UID} = GetItemFromDB('RealName','UID',$item->{'UID'},'User +') $item->{ActionID} = GetItemFromDB('ActionName','ActionID',$item->{ +'ActionID'},'Action'); }
|
---|