From: Tomas Doran Date: Tue, 10 Feb 2009 22:46:23 +0000 (+0000) Subject: By the point that you get here, $reference is already true due to autovivifcation... X-Git-Tag: 5.80001~110 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=d5df925fddfbcde957e258928c1abfdffba452bb By the point that you get here, $reference is already true due to autovivifcation. lame. --- diff --git a/t/lib/TestApp/View/Dump.pm b/t/lib/TestApp/View/Dump.pm index db7c2a0..c4c29db 100644 --- a/t/lib/TestApp/View/Dump.pm +++ b/t/lib/TestApp/View/Dump.pm @@ -37,7 +37,7 @@ sub process { my $context = delete $reference->{_context}; if ( my $output = - $self->dump( $reference || $c->stash->{dump} || $c->stash ) ) + $self->dump( $reference ) ) { $c->res->headers->content_type('text/plain');