in reply to Segfault with MooseX::Declare and Regexp::Grammars
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Segfault with MooseX::Declare and Regexp::Grammars
by betterworld (Curate) on Feb 27, 2011 at 13:24 UTC | |
by ELISHEVA (Prior) on Feb 27, 2011 at 13:41 UTC | |
by betterworld (Curate) on Feb 27, 2011 at 14:13 UTC |