in reply to Re^2: Moose again...Debugging?
in thread Moose again...Debugging?
My first thought is to run the program with the argument -MO=Deparse and see if the generated code is of any help. I guess you'd have to find where the right ::TypeDecorator object is created and what's going wrong there. This will likely take some time, and there will be a lot of indirection, but it's taking the mystery meat syntax out of the equation.
I keep thinking about ::Pattern's constructor, and I have to remind myself that Moose is providing that, so it's unlikely that you have a bad method signature that doesn't allow that argument (but usually bad args have more obvious error messages in MooseX::Delare, in my experience). Although, if new is inadvertantly defined, maybe that's part of the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Moose again...Debugging?
by tj_thompson (Monk) on Dec 18, 2010 at 19:23 UTC | |
by stvn (Monsignor) on Dec 20, 2010 at 01:12 UTC | |
by Anonymous Monk on Dec 18, 2010 at 21:02 UTC | |
by Anonymous Monk on Dec 18, 2010 at 21:13 UTC | |
|
Re^4: Moose again...Debugging?
by tj_thompson (Monk) on Jan 11, 2011 at 05:33 UTC |