From: Arthur Axel 'fREW' Schmidt Date: Mon, 29 Sep 2014 22:24:35 +0000 (-0500) Subject: Fix for 5.18 and 5.20 X-Git-Tag: v0.900201~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e0f76f461d85d3301519dc99bd67554aab1112bf;p=dbsrgits%2FDBIx-Class-Journal.git Fix for 5.18 and 5.20 --- diff --git a/Changes b/Changes index d8e3b3e..845c27f 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + - Fix for 5.18 and 5.20 - Don't copy column data from schema that does anything other than define data type. e.g. autoinc stuff diff --git a/lib/DBIx/Class/Journal/EvalWrap.pm b/lib/DBIx/Class/Journal/EvalWrap.pm index f6d89d0..bab95d2 100644 --- a/lib/DBIx/Class/Journal/EvalWrap.pm +++ b/lib/DBIx/Class/Journal/EvalWrap.pm @@ -4,7 +4,7 @@ use base qw(DBIx::Class::Journal); use strict; use warnings; -foreach my $method qw(journal_log_update journal_log_insert journal_log_delete) { +foreach my $method (qw(journal_log_update journal_log_insert journal_log_delete)) { local $@; eval "sub $method " . ' { my ( $self, @args ) = @_;