Skip to content

Instantly share code, notes, and snippets.

Avatar

shadowcat-mst

View GitHub Profile
View gist:c8c64a77c6c503fa4290c2eab5f0d821
use strict;
use warnings;
use Test::More;
use Test::Warn;
use Test::Exception;
use SQL::Abstract::Test import => [qw(is_same_sql_bind diag_where dumper) ];
use SQL::Abstract;
use SQL::Abstract::ExtraClauses;
View qxml.js
// intentionally incomplete dummy escape function because meh
function escapeXML (str) {
return str.toString().replace(/"/g, '"')
}
function qxml ([ firstString, ...remainingStrings ], ...interpolations) {
return remainingStrings.map(
(v, idx) => [ v, interpolations[idx] ]
).reduce(
You can’t perform that action at this time.