using SQLA2
Matt S Trout [Fri, 24 Jul 2009 16:25:14 +0000 (17:25 +0100)]
sql-test.pl [new file with mode: 0644]

diff --git a/sql-test.pl b/sql-test.pl
new file mode 100644 (file)
index 0000000..4027451
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/env perl
+
+use lib "$ENV{HOME}/wdir/SQL-Abstract/lib";
+use lib "$ENV{HOME}/wdir/SQL-Abstract/t/lib";
+
+use Test::SQL::Abstract::Util qw(
+  mk_name
+  mk_value
+  mk_alias
+  mk_expr
+  :dumper_sort
+);
+
+use SQL::Abstract;
+
+my $sqla = SQL::Abstract->create(1);
+
+warn $sqla->dispatch(
+  { -type => 'list', args => [
+    mk_name('foo')
+  ] });