From: Ash Berlin Date: Wed, 25 Mar 2009 18:40:00 +0000 (+0000) Subject: Skeleton class for starting the back-compat layer X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FSQL-Abstract-2.0-ish.git;a=commitdiff_plain;h=0bcf772fec62804b25917816b9a04fd8bc728149 Skeleton class for starting the back-compat layer --- diff --git a/lib/SQL/Abstract/Compat.pm b/lib/SQL/Abstract/Compat.pm new file mode 100644 index 0000000..1b231dd --- /dev/null +++ b/lib/SQL/Abstract/Compat.pm @@ -0,0 +1,26 @@ +use MooseX::Declare; + +class SQL::Abstract::Compat { +} + +=head1 NAME + +SQL::Abstract::Compant - compatibility layer for SQL::Abstrct v 1.xx + +=head1 DESCRIPTION + +This class attempts to maintain the original behaviour of version 1 of +SQL::Abstract. It does this by internally converting to an AST and then using +the standard AST visitor. + +If so desired, you can get hold of this transformed AST somehow. This is aimed +at libraries such as L that use SQL::Abstract-style arrays or +hashes as part of their public interface. + +=head1 AUTHOR + +Ash Berlin C<< >> + +=cut + +1; diff --git a/t/compat/.gitignore b/t/compat/.gitignore new file mode 100644 index 0000000..e69de29