Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanksmy $sth = $dbh->prepare(qq{select * from `sometable` where `id` = ?}); $sth->execute($some_string); my $data = $sth->fetchrow_hashref(); $sth->finish(); my $page_title = $data->{title}; my $html_content = $data->{html_src}; my $last_edited = Format_Date_For_Viewing($data->{last_modified},"long +_date"); # Use the HTML Content in $html_content with the HTML::Template??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of HTML::Template
by GrandFather (Saint) on Feb 08, 2009 at 08:40 UTC | |
by Anonymous Monk on Feb 08, 2009 at 08:45 UTC | |
by GrandFather (Saint) on Feb 08, 2009 at 08:51 UTC | |
by Anonymous Monk on Feb 08, 2009 at 09:19 UTC | |
by GrandFather (Saint) on Feb 08, 2009 at 09:35 UTC |