hmadhi has asked for the wisdom of the Perl Monks concerning the following question:
my $sth_le = $dbh->prepare($loggedEventsSQL); $sth_le->execute(); my $logged_events ; push @{$logged_events} , $_ while $_ = $sth_le->fetchrow_hashref(); my $cordr_template = HTML::Template->new(filename=>$pdp_template, die_on_bad_params =>0, ); $cordr_template->param( KPI => $kpi, THRES => $pdp_thres, DATETIME => $currDateTime, NEW_EVENTS => $new_events, LOGGED_EVENTS => $logged_events, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Template - how to handle TMPL_LOOP parameter if no rows returned
by moritz (Cardinal) on Mar 04, 2011 at 09:50 UTC | |
by hmadhi (Acolyte) on Mar 04, 2011 at 10:06 UTC | |
|
Re: HTML::Template - how to handle TMPL_LOOP parameter if no rows returned
by scorpio17 (Canon) on Mar 04, 2011 at 18:56 UTC | |
|
Re: HTML::Template - how to handle TMPL_LOOP parameter if no rows returned
by jfraire (Beadle) on Mar 05, 2011 at 06:44 UTC |