On Mon, Mar 02, 2009 at 08:33:16AM -0800, Carl Mäsak wrote: > <moritz_> rakudo: rule w { . }; 'a' ~~ m/<w>/; for %($/<w>).kv {} > <p6eval> rakudo 50279c: RESULT«Method 'HOW' not found for invocant of > class 'Iterator' [...]
While I agree that the error message is likely incorrect -- I'm not sure what the intent of the original code is here. Wouldn't %($/<w>) be empty, since the rule doesn't have any named captures? Pm