Maybe you can help me pinpoint the origin of this bug.
Have you tried rewriting your program to use plain old Perl objects (no Moose::Declare)? Do you still get a segfault?
If not, then I'd start looking at Moose::Declare, beginning with the smallest possible grammar ( can you have a null grammar qr{} - what happens when you do?) and building up until you see the weird behavior. Try each grammar out with your pure Perl object and with a Moose object, noting when both fail, one fails or the other fails.
If you can reproduce the problem without MooseX::Declare then either something about the way you are using Regexp::Grammars is at issue, or as you say, there is a bug.
In reply to Re: Segfault with MooseX::Declare and Regexp::Grammars
by ELISHEVA
in thread Segfault with MooseX::Declare and Regexp::Grammars
by betterworld
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |