From: John Napiorkowski Date: Fri, 18 Feb 2011 14:08:44 +0000 (-0500) Subject: fixed mistaken redeclared lexical and changed test case to not explode when using... X-Git-Tag: 1.001011~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f4fe4f1f957632cf428de55257fe97bf7a7ed70a;p=dbsrgits%2FDBIx-Class-Fixtures.git fixed mistaken redeclared lexical and changed test case to not explode when using a local lib --- diff --git a/lib/DBIx/Class/Fixtures.pm b/lib/DBIx/Class/Fixtures.pm index 92ac222..395e923 100644 --- a/lib/DBIx/Class/Fixtures.pm +++ b/lib/DBIx/Class/Fixtures.pm @@ -496,7 +496,7 @@ sub dump { my $schema = $params->{schema}; my $config; if ($params->{config}) { - my $config = ref $params->{config} eq 'HASH' ? + $config = ref $params->{config} eq 'HASH' ? $params->{config} : do { #read config diff --git a/t/00-load.t b/t/00-load.t index 7bf3926..36b693d 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -1,5 +1,3 @@ -#!perl -T - use Test::More tests => 1; BEGIN {