Skip to content

Instantly share code, notes, and snippets.

Dan Book Grinnz

  • Connecticut, US
Block or report user

Report or block Grinnz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Grinnz / dbd-sqlite-multiple-queries.perl
Created Jul 28, 2015
DBD::SQLite multiple query issue
View dbd-sqlite-multiple-queries.perl
use strict;
use warnings;
use DBI;
use Test::More;
sub run {
my ($sql, $query) = @_;
my $sth;
while ($query) {
Grinnz /
Created Apr 21, 2015
Mojo parameter test
use Mojolicious::Lite;
helper get_contents => sub {
my $c = shift;
if ($c->req->method eq 'GET' or $c->req->method eq 'HEAD') {
return $c->req->url->query;
} else {
return $c->req->body;
You can’t perform that action at this time.