From: Peter Rabbitson Date: Fri, 14 Jan 2011 21:32:41 +0000 (+0100) Subject: ENV manging warning on older perls X-Git-Tag: v0.08127~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=efee51b7ecde1729e5ca8b760c71f099dc12bc06;p=dbsrgits%2FDBIx-Class.git ENV manging warning on older perls --- diff --git a/xt/optional_deps.t b/xt/optional_deps.t index 66f6a65..1b8e6f9 100644 --- a/xt/optional_deps.t +++ b/xt/optional_deps.t @@ -20,7 +20,7 @@ ok ( (! grep { $_ =~ m|DBIx/Class| } @$inc_before ), 'Nothing DBIC related is ye # to build the optional requirements BEGIN { $ENV{DBICTEST_PG_DSN} = '1'; - $ENV{DBICTEST_ORA_DSN} = undef; + delete $ENV{DBICTEST_ORA_DSN}; } use_ok 'DBIx::Class::Optional::Dependencies';