Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: HTML::Template Tutorial

by Anonymous Monk
on Dec 03, 2017 at 21:53 UTC ( #1204823=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # grab the stuff from the database
    my $sth = $DBH->prepare('
    ...
    # prepare a data structure for HTML::Template
    my $rows;
    push @{$rows}, $_ while $_ = $sth->fetchrow_hashref();
    
  2. or download this
    # grab the stuff from the database
    my $rows = $DBH->selectall_arrayref('
       select title, artist, album, year
       from songs', Slice => {} );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1204823]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2020-09-24 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (132 votes). Check out past polls.

    Notices?