From: Ken Youens-Clark Date: Tue, 9 Mar 2004 19:15:31 +0000 (+0000) Subject: Fixed indentation. X-Git-Tag: v0.06~146 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=960b4e554e967b9a631dbaefe39ae6ff6e859cd9;p=dbsrgits%2FSQL-Translator.git Fixed indentation. --- diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index 60617df..9656cea 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -1,7 +1,7 @@ package SQL::Translator; # ---------------------------------------------------------------------- -# $Id: Translator.pm,v 1.53 2004-02-11 21:37:11 kycl4rk Exp $ +# $Id: Translator.pm,v 1.54 2004-03-09 19:15:31 kycl4rk Exp $ # ---------------------------------------------------------------------- # Copyright (C) 2002-4 The SQLFairy Authors # @@ -27,7 +27,7 @@ use base 'Class::Base'; require 5.004; $VERSION = '0.05'; -$REVISION = sprintf "%d.%02d", q$Revision: 1.53 $ =~ /(\d+)\.(\d+)/; +$REVISION = sprintf "%d.%02d", q$Revision: 1.54 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; $ERROR = ""; @@ -390,15 +390,15 @@ sub data { my @files = ref($filename) eq 'ARRAY' ? @$filename : ($filename); foreach my $file (@files) { - unless (open FH, $file) { - return $self->error("Can't read file '$file': $!"); - } + unless (open FH, $file) { + return $self->error("Can't read file '$file': $!"); + } - $data .= ; + $data .= ; - unless (close FH) { - return $self->error("Can't close file '$file': $!"); - } + unless (close FH) { + return $self->error("Can't close file '$file': $!"); + } } $self->{'data'} = \$data;