%method doctype> %method> <%init> use DBI; use strict; use warnings; # Get DVDs my $q = $dbh->prepare("SELECT * FROM dvd"); $q->execute or die "ERROR: couldn't query for DVDs! " . $dbh->errstr; %init>
<% $hr->{title} %>