From: Ken Youens-Clark Date: Thu, 21 Aug 2003 02:47:43 +0000 (+0000) Subject: Some POD changes. X-Git-Tag: v0.04~253 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8adcda556faba38e4e2d427b3300e08b63d7bb9b;p=dbsrgits%2FSQL-Translator.git Some POD changes. --- diff --git a/bin/sql_translator.pl b/bin/sql_translator.pl index 4c87ba3..61a761b 100755 --- a/bin/sql_translator.pl +++ b/bin/sql_translator.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl -w # ------------------------------------------------------------------- -# $Id: sql_translator.pl,v 1.13 2003-08-20 22:26:52 kycl4rk Exp $ +# $Id: sql_translator.pl,v 1.14 2003-08-21 02:47:43 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002 Ken Y. Clark , # darren chamberlain @@ -29,7 +29,7 @@ use SQL::Translator; use Data::Dumper; use vars qw( $VERSION ); -$VERSION = sprintf "%d.%02d", q$Revision: 1.13 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.14 $ =~ /(\d+)\.(\d+)/; my $from; # the original database my $to; # the destination database @@ -196,8 +196,11 @@ knows about. If using "show-warnings," be sure to redirect STDERR to a separate file. In bash, you could do this: - $ sql_translator.pl -f MySQL -t PostgreSQL --show-warnings file.sql \ - 1>out 2>err + $ sql_translator.pl -f MySQL -t PostgreSQL --show-warnings \ + file.sql 1>out 2>err + +You can specify a parser or producer located in any module that Perl +knows about, allowing you to easily substitute your own. =head1 AUTHOR