[interchange-cvs] interchange - jon modified lib/Vend/Table/DBI.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Oct 8 11:37:49 EDT 2007
User: jon
Date: 2007-10-08 15:37:49 GMT
Modified: lib/Vend/Table DBI.pm
Log:
Get rid of some declarations of unused lexicals.
Revision Changes Path
2.81 +5 -5 interchange/lib/Vend/Table/DBI.pm
rev 2.81, prev_rev 2.80
Index: DBI.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI.pm,v
retrieving revision 2.80
retrieving revision 2.81
diff -u -u -r2.80 -r2.81
--- DBI.pm 14 Aug 2007 13:42:08 -0000 2.80
+++ DBI.pm 8 Oct 2007 15:37:49 -0000 2.81
@@ -1,6 +1,6 @@
# Vend::Table::DBI - Access a table stored in an DBI/DBD database
#
-# $Id: DBI.pm,v 2.80 2007/08/14 13:42:08 kwalsh Exp $
+# $Id: DBI.pm,v 2.81 2007/10/08 15:37:49 jon Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -21,7 +21,7 @@
# MA 02110-1301 USA.
package Vend::Table::DBI;
-$VERSION = substr(q$Revision: 2.80 $, 10);
+$VERSION = substr(q$Revision: 2.81 $, 10);
use strict;
no warnings qw(uninitialized numeric);
@@ -74,10 +74,10 @@
sub find_dsn {
my ($config) = @_;
- my($param, $value, $cattr, $dattr, @out);
- my($user,$pass,$dsn,$driver);
+ my ($cattr, $dattr, @out);
+
my $i = 0;
- foreach $param (qw! DSN USER PASS !) {
+ for my $param (qw! DSN USER PASS !) {
$out[$i++] = $config->{ $param } || undef;
}
More information about the interchange-cvs
mailing list