use warnings
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Filter / Names.pm
index cafa72c..c5f9195 100644 (file)
@@ -1,23 +1,5 @@
 package SQL::Translator::Filter::Names;
 
-# -------------------------------------------------------------------
-# Copyright (C) 2002-2009 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
-# -------------------------------------------------------------------
-
 =head1 NAME
 
 SQL::Translator::Filter::Names - Tweak the names of schema objects.
@@ -46,8 +28,9 @@ SQL::Translator::Filter::Names - Tweak the names of schema objects.
 =cut
 
 use strict;
+use warnings;
 use vars qw/$VERSION/;
-$VERSION = '1.60';
+$VERSION = '1.59';
 
 sub filter {
     my $schema = shift;
@@ -99,17 +82,15 @@ sub _getfunc {
 
 
 # The name munging functions
-# -------------------------------------------------------------------------
-# Get called with name to munge as first arg and return the new name. Die 
-# on errors.
+#=============================================================================
+# Get called with name to munge as first arg and return the new name. Die on
+# errors.
 
 sub lc { lc shift; }
 sub uc { uc shift; }
 sub ucfirst { ucfirst shift; }
 
-1; 
-
-# -------------------------------------------------------------------------
+1; #==========================================================================
 
 __END__
 
@@ -119,13 +100,15 @@ __END__
 
 L<perl(1)>, L<SQL::Translator>
 
+=head1 BUGS
+
 =head1 TODO
 
 =over 4
 
 =item Name Groups
 
-Define a bunch of usefull groups to run the name filters over. e.g. all, fkeys,
+Define a bunch of useful groups to run the name filters over. e.g. all, fkeys,
 pkeys etc.
 
 =item More Functions
@@ -165,6 +148,4 @@ code it into the filter it's self.
 
 =head1 AUTHOR
 
-Unknown.
-
 =cut