-use strict;
-use warnings;
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
# Columns in CDBI could be defined as Class::DBI::Column objects rather than
# or as well as with __PACKAGE__->columns();
+use DBIx::Class::Optional::Dependencies -skip_all_without => qw( cdbicompat Class::DBI>=3.000005 );
-use Test::More;
+use strict;
+use warnings;
-BEGIN {
- eval { require Class::DBI::Column }
- or plan skip_all => 'Class::DBI::Column required for this test';
-}
+use Test::More;
use lib 't/cdbi/testlib';
use ColumnObject;