Remove copyright headers from individual scripts
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator.pm
index 7b0dc58..442297d 100644 (file)
@@ -1,37 +1,18 @@
 package SQL::Translator;
 
-# ----------------------------------------------------------------------
-# Copyright (C) 2002-2009 The SQLFairy Authors
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; version 2.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307  USA
-# -------------------------------------------------------------------
-
 use strict;
 use vars qw( $VERSION $DEFAULT_SUB $DEBUG $ERROR );
 use base 'Class::Base';
 
-require 5.004;
+require 5.005;
 
-$VERSION  = '0.09003';
+$VERSION  = '0.11007';
 $DEBUG    = 0 unless defined $DEBUG;
 $ERROR    = "";
 
 use Carp qw(carp);
 
 use Data::Dumper;
-use Class::Base;
 use File::Find;
 use File::Spec::Functions qw(catfile);
 use File::Basename qw(dirname);
@@ -319,6 +300,7 @@ sub data {
                 $data = join '', @$data;
             }
             elsif (isa($data, 'GLOB')) {
+                seek ($data, 0, 0) if eof ($data);
                 local $/;
                 $data = <$data>;
             }
@@ -1268,47 +1250,74 @@ Returns the version of the SQL::Translator release.
 
 =head1 AUTHORS
 
-The following people have contributed to the SQLFairy project:
+Alexander Hartmaier <abraxxa@cpan.org>
 
-=over 4
+Allen Day <allenday@users.sourceforge.net>
 
-=item * Mark Addison <grommit@users.sourceforge.net>
+Anders Nor Berle <berle@cpan.org>
 
-=item * Sam Angiuoli <angiuoli@users.sourceforge.net>
+Andrew Moore <amoore@cpan.org>
 
-=item * Anders Nor Berle <berle@cpan.org>
+Ben Faga <faga@cshl.edu>
 
-=item * Dave Cash <dave@gnofn.org>
+Chris Hilton <chilton@alterpoint.com>
 
-=item * Darren Chamberlain <dlc@users.sourceforge.net>
+Chris Mungall <cjm@fruitfly.org>
 
-=item * Ken Y. Clark <kclark@cpan.org>
+Chris To <christot@users.sourceforge.net>
 
-=item * Allen Day <allenday@users.sourceforge.net>
+Daniel Ruoso <daniel@ruoso.com>
 
-=item * Paul Harrington <phrrngtn@users.sourceforge.net>
+Darren Chamberlain <dlc@users.sourceforge.net>
 
-=item * Mikey Melillo <mmelillo@users.sourceforge.net>
+Dave Cash <dave@gnofn.org>
 
-=item * Chris Mungall <cjm@fruitfly.org>
+Fabien Wernli <faxmodem@cpan.org>
 
-=item * Ross Smith II <rossta@users.sf.net>
+Geoff Cant <geoff@catalyst.net.nz>
 
-=item * Gudmundur A. Thorisson <mummi@cshl.org>
+Gudmundur A. Thorisson <mummi@cshl.org>
 
-=item * Chris To <christot@users.sourceforge.net>
+Guillermo Roditi <groditi@cpan.org>
 
-=item * Jason Williams <smdwilliams@users.sourceforge.net>
+Jason Williams <smdwilliams@users.sourceforge.net>
 
-=item * Ying Zhang <zyolive@yahoo.com>
+Jonathan Yu <jawnsy@cpan.org>
 
-=item * Daniel Ruoso <daniel@ruoso.com>
+John Goulah <jgoulah@cpan.org>
 
-=item * Ryan D Johnson <ryan@innerfence.com>
+Ken Youens-Clark <kclark@cpan.org>
 
-=item * Jonathan Yu <frequency@cpan.org>
+Kevin McClellan <kdmcclel@gmail.com>
 
-=back
+Mark Addison <grommit@users.sourceforge.net>
+
+Mikey Melillo <mmelillo@users.sourceforge.net>
+
+Moritz Onken <onken@netcubed.de>
+
+Paul Harrington <phrrngtn@users.sourceforge.net>
+
+Peter Rabbitson <ribasushi@cpan.org>
+
+Ross Smith II <rossta@users.sf.net>
+
+Ryan D Johnson <ryan@innerfence.com>
+
+Sam Angiuoli <angiuoli@users.sourceforge.net>
+
+Stephen Bennett <stephen@freenode.net>
+
+Stephen Clouse <stephenclouse@gmail.com>
+
+Wallace Reis <wreis@cpan.org>
+
+Ying Zhang <zyolive@yahoo.com>
+
+=head1 COPYRIGHT
+
+Copyright (c) 2002-2011 the SQL::Translator L</AUTHORS> as listed
+above.
 
 If you would like to contribute to the project, you can send patches
 to the developers mailing list:
@@ -1318,8 +1327,7 @@ to the developers mailing list:
 Or send us a message (with your Sourceforge username) asking to be
 added to the project and what you'd like to contribute.
 
-
-=head1 COPYRIGHT
+=head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by