projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0818c9a
)
Do not autoviv empty ENV vars
Peter Rabbitson [Tue, 2 Mar 2010 09:29:18 +0000 (09:29 +0000)]
lib/DBIx/Class/Optional/Dependencies.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Optional/Dependencies.pm
b/lib/DBIx/Class/Optional/Dependencies.pm
index
6bba18b
..
f8800a8
100644
(file)
--- a/
lib/DBIx/Class/Optional/Dependencies.pm
+++ b/
lib/DBIx/Class/Optional/Dependencies.pm
@@
-176,7
+176,7
@@
my $reqs = {
rdbms_asa => {
req => {
- (scalar grep $_, @ENV{qw/DBICTEST_SYBASE_ASA_DSN DBICTEST_SYBASE_ASA_ODBC_DSN/})
+ (scalar grep { $ENV{$_} } (qw/DBICTEST_SYBASE_ASA_DSN DBICTEST_SYBASE_ASA_ODBC_DSN/) )
? (
'DateTime::Format::Strptime' => 0,
) : ()