[Catalyst-commits] r9277 - Catalyst-Runtime/5.80/trunk/t/lib/TestApp/View

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue Feb 10 22:46:23 GMT 2009


Author: t0m
Date: 2009-02-10 22:46:23 +0000 (Tue, 10 Feb 2009)
New Revision: 9277

Modified:
   Catalyst-Runtime/5.80/trunk/t/lib/TestApp/View/Dump.pm
Log:
By the point that you get here, $reference is already true due to autovivifcation. lame.

Modified: Catalyst-Runtime/5.80/trunk/t/lib/TestApp/View/Dump.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/lib/TestApp/View/Dump.pm	2009-02-10 11:55:40 UTC (rev 9276)
+++ Catalyst-Runtime/5.80/trunk/t/lib/TestApp/View/Dump.pm	2009-02-10 22:46:23 UTC (rev 9277)
@@ -37,7 +37,7 @@
     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');




More information about the Catalyst-commits mailing list