From: Ken Youens-Clark Date: Wed, 5 Nov 2003 22:27:25 +0000 (+0000) Subject: POD changes. X-Git-Tag: v0.04~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e966b2b0813c3a5e9adb2e921dfb50bf516f08b5;p=dbsrgits%2FSQL-Translator.git POD changes. --- diff --git a/lib/SQL/Translator/Producer/Diagram.pm b/lib/SQL/Translator/Producer/Diagram.pm index 1d07a0b..602ae08 100644 --- a/lib/SQL/Translator/Producer/Diagram.pm +++ b/lib/SQL/Translator/Producer/Diagram.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::Diagram; # ------------------------------------------------------------------- -# $Id: Diagram.pm,v 1.7 2003-08-27 03:44:08 kycl4rk Exp $ +# $Id: Diagram.pm,v 1.8 2003-11-05 22:27:25 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark # @@ -20,6 +20,30 @@ package SQL::Translator::Producer::Diagram; # 02111-1307 USA # ------------------------------------------------------------------- +=head1 NAME + +SQL::Translator::Producer::Diagram - ER diagram producer for SQL::Translator + +=head1 SYNOPSIS + +Use via SQL::Translator: + + use SQL::Translator; + + my $t = SQL::Translator->new( parser => 'MySQL', '...' ); + $t->translate; + +Or use more directly: + + use SQL::Translator; + use SQL::Translator::MySQL 'parse'; + + my $t = SQL::Translator->new( filename => '...' );; + parse( $t, + + +=cut + use strict; use GD; use Data::Dumper; @@ -27,7 +51,7 @@ use SQL::Translator::Schema::Constants; use SQL::Translator::Utils qw(debug); use vars qw[ $VERSION $DEBUG ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.8 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; use constant VALID_FONT_SIZE => { @@ -488,12 +512,8 @@ sub produce { =pod -=head1 NAME - -SQL::Translator::Producer::Diagram - ER diagram producer for SQL::Translator - =head1 AUTHOR -Ken Y. Clark Ekclark@cpan.orgE +Ken Y. Clark Ekclark@cpan.orgE. =cut