projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4a9d7ca
)
Disabled 'Use of uninitialized value in subroutine entry' warning
Andy Grundman [Thu, 4 Aug 2005 16:02:44 +0000 (16:02 +0000)]
lib/DBIx/Class/Storage/DBI.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI.pm
b/lib/DBIx/Class/Storage/DBI.pm
index
2a4d84a
..
cbd0ffe
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI.pm
+++ b/
lib/DBIx/Class/Storage/DBI.pm
@@
-123,6
+123,9
@@
sub select {
if (@{$attrs->{bind}||[]}) {
$sth->execute( @{$attrs->{bind}||[]} );
} else {
+ # disable unexplained 'Use of uninitialized value in subroutine entry'
+ # warnings
+ no warnings 'uninitialized';
$sth->execute;
}
return $sth;