Skip Menu |

This queue is for tickets about the Contextual-Return CPAN distribution.

Report information
The Basics
Id: 66324
Status: new
Priority: 0/
Queue: Contextual-Return

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.003001
Fixed in: (no value)



Subject: Deep recursion in lvalue test
There's a deep recursion in the lvalue test between Contextual::Return and Test::More v2 which uses Mouse. The code below demonstrates: use Test::More 'no_plan'; use Contextual::Return; { sub foo : lvalue { LVALUE { ok 1; } } } for my $foo (foo) { $foo = 99; } Near as I can figure, $foo = 99 is triggering LVALUE which calls ok() which somehow triggers LVALUE deep inside Mouse (lib/Test/Builder2/Mouse.pm 691 local $_ = $args[0];). I'm not sure how it goes circular. Any of the 2.00_x series of Test::More will trigger the problem.