X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FSQLAnywhere.pm;h=5d9170db7e5532ae1d968fc3067f0471cf4e270f;hb=fd323bf1046faa7de5a8c985268d80ec5b703361;hp=0837554a1a6a17e11f31af1421cc8b035dcdad36;hpb=52b420dd006f55aced42c669f49182890b8826ea;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/SQLAnywhere.pm b/lib/DBIx/Class/Storage/DBI/SQLAnywhere.pm index 0837554..5d9170d 100644 --- a/lib/DBIx/Class/Storage/DBI/SQLAnywhere.pm +++ b/lib/DBIx/Class/Storage/DBI/SQLAnywhere.pm @@ -6,6 +6,7 @@ use base qw/DBIx::Class::Storage::DBI::UniqueIdentifier/; use mro 'c3'; use List::Util (); use Try::Tiny; +use namespace::clean; __PACKAGE__->mk_group_accessors(simple => qw/ _identity @@ -43,7 +44,7 @@ sub insert { my ($source, $to_insert) = @_; my $identity_col = List::Util::first { - $source->column_info($_)->{is_auto_increment} + $source->column_info($_)->{is_auto_increment} } $source->columns; # user might have an identity PK without is_auto_increment