perl5.8.8 + cat 5.80's Cat::Test->ctx_request didn't return $c the 2nd
authorJos Boumans <kane@cpan.org>
Thu, 7 May 2009 15:14:16 +0000 (15:14 +0000)
committerJos Boumans <kane@cpan.org>
Thu, 7 May 2009 15:14:16 +0000 (15:14 +0000)
commitba151d0d0be3d3553d866bd0f2277bfdee17d446
treeabd7118a14229de910f2a8f33dfcbebd2dd3ee3d
parentc66a708f501cf8e38c67d60aa833eeda369a4233
perl5.8.8 + cat 5.80's Cat::Test->ctx_request didn't return $c the 2nd
time it was invoked. Without tracking the bug down all the way, it was
clearly related to the Moose'ification of Cat::Test and a scoping issue
with a 'my'd variable. Since the same code works fine in 5.10, a bug in
either Moose or perl 5.8 is suspected.
Khisanth++ for the elegant patch.
lib/Catalyst/Test.pm
t/unit_load_catalyst_test.t