Added the sql expr scripts I've been using to test
Matt S Trout [Wed, 17 Apr 2019 02:12:28 +0000 (02:12 +0000)]
maint/sqlacexpr [new file with mode: 0755]
maint/sqlaexpr [new file with mode: 0755]

diff --git a/maint/sqlacexpr b/maint/sqlacexpr
new file mode 100755 (executable)
index 0000000..63b41f6
--- /dev/null
@@ -0,0 +1,12 @@
+use SQL::Abstract::ExtraClauses;
+use Devel::Dwarn;
+
+warn $ARGV[1];
+
+my @args = eval '('.$ARGV[1].')';
+
+die $@ if $@;
+
+my $sqlac = SQL::Abstract::ExtraClauses->new(unknown_unop_always_func => 1);
+
+Dwarn([ $sqlac->${\$ARGV[0]}(@args) ]);
diff --git a/maint/sqlaexpr b/maint/sqlaexpr
new file mode 100755 (executable)
index 0000000..de4e265
--- /dev/null
@@ -0,0 +1,10 @@
+use SQL::Abstract;
+use Devel::Dwarn;
+
+warn $ARGV[1];
+
+my @args = eval '('.$ARGV[1].')';
+
+die $@ if $@;
+
+Dwarn([ SQL::Abstract->new->${\$ARGV[0]}(@args) ]);