From: Ken Youens-Clark Date: Tue, 14 Apr 2009 21:24:25 +0000 (+0000) Subject: Fixed my name, Perl shebang. X-Git-Tag: v0.11008~207 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=969049bac34339de63ddb893e94aed228e3a5de9;hp=d5132e1905bca7e99ece09efc89800409bea2214;p=dbsrgits%2FSQL-Translator.git Fixed my name, Perl shebang. --- diff --git a/bin/sqlt b/bin/sqlt index 7999c09..5d4eccc 100755 --- a/bin/sqlt +++ b/bin/sqlt @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # vim: set ft=perl: # ------------------------------------------------------------------- @@ -147,6 +147,7 @@ knows about, allowing you to easily substitute your own. # ------------------------------------------------------------------- use strict; +use warnings; use Getopt::Long; use Pod::Usage; use SQL::Translator; diff --git a/bin/sqlt-diagram b/bin/sqlt-diagram index c47aca7..7e38a04 100755 --- a/bin/sqlt-diagram +++ b/bin/sqlt-diagram @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # ------------------------------------------------------------------- # Copyright (C) 2002-2009 SQLFairy Authors @@ -68,6 +68,7 @@ to achieve this. =cut use strict; +use warnings; use Data::Dumper; use Getopt::Long; use Pod::Usage; @@ -145,6 +146,6 @@ for my $file (@files) { =head1 AUTHOR -Ken Y. Clark Ekclark@cpan.orgE. +Ken Youens-Clark Ekclark@cpan.orgE. =cut diff --git a/bin/sqlt-diff b/bin/sqlt-diff index 0afc495..3a5a6a5 100755 --- a/bin/sqlt-diff +++ b/bin/sqlt-diff @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # vim: set ft=perl: # ------------------------------------------------------------------- @@ -103,6 +103,7 @@ Currently (v0.0900), only MySQL is supported by this code. # ------------------------------------------------------------------- use strict; +use warnings; use Pod::Usage; use Data::Dumper; use SQL::Translator; @@ -232,7 +233,7 @@ else =head1 AUTHOR -Ken Y. Clark Ekclark@cpan.orgE. +Ken Youens-Clark Ekclark@cpan.orgE. =head1 SEE ALSO diff --git a/bin/sqlt-diff-old b/bin/sqlt-diff-old index 7ec9b78..4aff12f 100755 --- a/bin/sqlt-diff-old +++ b/bin/sqlt-diff-old @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # vim: set ft=perl: # ------------------------------------------------------------------- @@ -89,6 +89,7 @@ your target database. # ------------------------------------------------------------------- use strict; +use warnings; use Pod::Usage; use Data::Dumper; use SQL::Translator; @@ -541,7 +542,7 @@ sub constraint_to_string { =head1 AUTHOR -Ken Y. Clark Ekclark@cpan.orgE. +Ken Youens-Clark Ekclark@cpan.orgE. =head1 SEE ALSO diff --git a/bin/sqlt-dumper b/bin/sqlt-dumper index 796711f..0f80959 100755 --- a/bin/sqlt-dumper +++ b/bin/sqlt-dumper @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # ------------------------------------------------------------------- # Copyright (C) 2002-2009 SQLFairy Authors @@ -55,6 +55,7 @@ argument. # ------------------------------------------------------------------- use strict; +use warnings; use Pod::Usage; use Getopt::Long; use SQL::Translator; @@ -103,7 +104,7 @@ exit(0); =head1 AUTHOR -Ken Y. Clark Ekclark@cpan.orgE. +Ken Youens-Clark Ekclark@cpan.orgE. =head1 SEE ALSO diff --git a/bin/sqlt.cgi b/bin/sqlt.cgi index 513042d..658e5ab 100755 --- a/bin/sqlt.cgi +++ b/bin/sqlt.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # ------------------------------------------------------------------- # Copyright (C) 2002-2009 SQLFairy Authors @@ -33,6 +33,7 @@ all the parsers and producers of SQL::Translator. # ------------------------------------------------------------------- use strict; +use warnings; use CGI; use SQL::Translator; @@ -545,7 +546,7 @@ sub show_form { =head1 AUTHOR -Ken Y. Clark Ekclark@cpan.orgE. +Ken Youens-Clark Ekclark@cpan.orgE. =head1 SEE ALSO