X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FParser%2FStorable.pm;h=0cc3194aa75ce32d2a745d70cd69e8319c5592bd;hb=c0ec0e22d3f0e3852c00daac5ef5763010b410c3;hp=92595489879c8a5f1d0a19a6fb446b9b72891d11;hpb=900758666f4b53e9a670d84260d28b16f834f69d;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/SQL/Translator/Parser/Storable.pm b/lib/SQL/Translator/Parser/Storable.pm old mode 100755 new mode 100644 index 9259548..0cc3194 --- a/lib/SQL/Translator/Parser/Storable.pm +++ b/lib/SQL/Translator/Parser/Storable.pm @@ -1,25 +1,5 @@ package SQL::Translator::Parser::Storable; -# ------------------------------------------------------------------- -# $Id: Storable.pm,v 1.5 2004-02-09 22:23:40 kycl4rk Exp $ -# ------------------------------------------------------------------- -# Copyright (C) 2002-4 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::Parser::Storable - parser for Schema objects serialized @@ -40,17 +20,17 @@ the data into a database tables or graphs. =cut use strict; -use vars qw($DEBUG $VERSION @EXPORT_OK); +use warnings; +our $VERSION = '1.59'; + +our $DEBUG; $DEBUG = 0 unless defined $DEBUG; -$VERSION = sprintf "%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/; use Storable; -use Exporter; use SQL::Translator::Utils qw(debug normalize_name); use base qw(Exporter); - -@EXPORT_OK = qw(parse); +our @EXPORT_OK = qw(parse); sub parse { my ($translator, $data) = @_; @@ -68,8 +48,6 @@ sub parse { 1; -# ------------------------------------------------------------------- - =pod =head1 SEE ALSO