dotfiles/.vim/template/perl/snip-dbi-prepare.pl

6 lines
131 B
Perl
Raw Normal View History

2012-02-13 19:19:04 +00:00
my $sth = $dbh->prepare("{{_cursor_}}");
$sth->execute;
while (my @row = $sth->fetchrow_array) {
#print join(', ', @row), "\n";
}