note
betterworld
<blockquote><i>Have you tried rewriting your program to use plain old Perl objects (no Moose::Declare)</i></blockquote>
<p>As stated above, the issue disappears when I get rid of MooseX::Declare and use plain Moose or even plain objects like this:</p>
<c>
{
package Foo;
sub new {
use Data::Dumper;
print 'AH ', Dumper \@_;
return bless {};
}
}
</c>
<blockquote><i>can you have a null grammar qr{}</i></blockquote>
<p>I need the "objrule" to have Regexp::Grammars call the constructor, so the grammar cannot be reduced much further.</p>
890409
890411