[svn:dbi] r14114 - dbi/trunk/lib/DBD

[email protected]
Newsgroups perl.dbi.changes
Message-ID <[email protected]>
Author: hmbrand
Date: Sun Jun  6 01:45:28 2010
New Revision: 14114

Modified:
   dbi/trunk/lib/DBD/File.pm

Log:
tidy & consistency

&& for expressions, and for actions:
expr1 && expr2 and action;

Modified: dbi/trunk/lib/DBD/File.pm
==============================================================================
--- dbi/trunk/lib/DBD/File.pm	(original)
+++ dbi/trunk/lib/DBD/File.pm	Sun Jun  6 01:45:28 2010
@@ -959,7 +959,7 @@
 
 	# now we know a bit more - let's check if user can't use consequent spelling
 	# XXX add know issue about reset sql_identifier_case here ...
-	if (defined( $dbh->{f_meta}{$table} ) and $dbh->{f_meta}{$table}{initialized}) {
+	if (defined $dbh->{f_meta}{$table} && $dbh->{f_meta}{$table}{initialized}) {
 	    $meta = $dbh->{f_meta}{$table};
 	    }
 	else {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.