X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FProducer.pm;h=63a1597ebfd7f0e7ee2ca1eab89b227818d19a05;hb=f27f9229eaf8c5ce637bea1f99eb8f9bdb42799c;hp=9119da62fd026f13de157af25b896d0d1a8aa188;hpb=06baeb2195df54daf9e50033a2050b473271b07d;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/SQL/Translator/Producer.pm b/lib/SQL/Translator/Producer.pm index 9119da6..63a1597 100644 --- a/lib/SQL/Translator/Producer.pm +++ b/lib/SQL/Translator/Producer.pm @@ -1,24 +1,7 @@ package SQL::Translator::Producer; -# ------------------------------------------------------------------- -# Copyright (C) 2002-4 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 warnings; use vars qw($VERSION); use Scalar::Util (); $VERSION = '1.59'; @@ -81,8 +64,8 @@ SQL::Translator::Producer - describes how to write a producer Producer modules designed to be used with SQL::Translator need to implement a single function, called B. B will be -called with the SQL::Translator object from which it is expected to -retrieve the SQL::Translator::Schema object which has been populated +called with the SQL::Translator object from which it is expected to +retrieve the SQL::Translator::Schema object which has been populated by the parser. It is expected to return a string. =head1 METHODS