From: Ken Youens-Clark Date: Fri, 7 Aug 2009 18:37:57 +0000 (+0000) Subject: Just made a little more readable. X-Git-Tag: v0.11008~140 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f0fc3ac076a49cefc0f75a92bc695e6e09ae842f;p=dbsrgits%2FSQL-Translator.git Just made a little more readable. --- diff --git a/lib/SQL/Translator/Parser/DBI/MySQL.pm b/lib/SQL/Translator/Parser/DBI/MySQL.pm index 6c00894..dcabb1b 100644 --- a/lib/SQL/Translator/Parser/DBI/MySQL.pm +++ b/lib/SQL/Translator/Parser/DBI/MySQL.pm @@ -49,7 +49,9 @@ sub parse { my ( $tr, $dbh ) = @_; my $schema = $tr->schema; my @table_names = @{ $dbh->selectcol_arrayref('show tables') }; - my @skip_tables = defined $tr->parser_args->{skip}?split(/,/, $tr->parser_args->{skip}):(); + my @skip_tables = defined $tr->parser_args->{skip} + ? split(/,/, $tr->parser_args->{skip}) + : (); $dbh->{'FetchHashKeyName'} = 'NAME_lc';