From: Ken Youens-Clark Date: Thu, 21 Aug 2003 18:12:56 +0000 (+0000) Subject: Expanded on AUTHORS, added dumping of Schema object if debugging, added X-Git-Tag: v0.04~243 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=841a3f1a241cff7e2f9fbc1bdc1e84aaa0f10909;p=dbsrgits%2FSQL-Translator.git Expanded on AUTHORS, added dumping of Schema object if debugging, added some POD. --- diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index a50fa5f..96a8d5d 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -1,7 +1,7 @@ package SQL::Translator; # ---------------------------------------------------------------------- -# $Id: Translator.pm,v 1.41 2003-08-20 22:19:14 kycl4rk Exp $ +# $Id: Translator.pm,v 1.42 2003-08-21 18:12:56 kycl4rk Exp $ # ---------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -29,12 +29,13 @@ use base 'Class::Base'; require 5.004; $VERSION = '0.02'; -$REVISION = sprintf "%d.%02d", q$Revision: 1.41 $ =~ /(\d+)\.(\d+)/; +$REVISION = sprintf "%d.%02d", q$Revision: 1.42 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; $ERROR = ""; use Carp qw(carp); +use Data::Dumper; use Class::Base; use File::Spec::Functions qw(catfile); use File::Basename qw(dirname); @@ -564,6 +565,8 @@ sub translate { } } + $self->debug("Schema =\n", Dumper($self->schema), "\n"); + if ($self->validate) { my $schema = $self->schema; return $self->error('Invalid schema') unless $schema->is_valid; @@ -1071,13 +1074,46 @@ producing. =head1 AUTHORS -Ken Y. Clark, Ekclark@cpan.orgE, -darren chamberlain Edarren@cpan.orgE, -Chris Mungall Ecjm@fruitfly.orgE, -Allen Day Eallenday@users.sourceforge.netE, -Sam Angiuoli Eangiuoli@users.sourceforge.netE, -Ying Zhang Ezyolive@yahoo.comE, -Mike Mellilo Emmelillo@users.sourceforge.netE. +The following people have contributed to the SQLFairy project: + +=over 4 + +=item * Mark Addison + +=item * Sam Angiuoli + +=item * Darren Chamberlain + +=item * Ken Y. Clark + +=item * Allen Day + +=item * Paul Harrington + +=item * Mikey Melillo + +=item * Chris Mungall + +=item * Ross Smith II + +=item * Gudmundur A. Thorisson + +=item * Chris To + +=item * Jason Williams + +=item * Ying Zhang + +=back + +If you would like to contribute to the project, you can send patches +to the developers mailing list: + + sqlfairy-developers@lists.sourceforge.net + +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 @@ -1097,7 +1133,12 @@ USA =head1 BUGS -Please use http://rt.cpan.org/ for reporting bugs. +Please use L for reporting bugs. + +=head1 PRAISE + +If you find this module useful, please use +L to rate it. =head1 SEE ALSO @@ -1108,5 +1149,5 @@ L, L, L, L, -L +L, L.