in reply to Re: Moose again...Debugging?
in thread Moose again...Debugging?
Yeah, I checked out that code as well. Didn't tell me much unfortunately, other than it appears to expect a TypeConstraint object and wasn't finding it which was confirmed by the additional debug output I put in. I'd like to know where it was being called from so I could trace the problem back, but it's not on the call stack.
Here's the relevent code:
method _create_pattern_obj (Str :$name, Maybe[Str] :$mask_data, Mayb +e[Str] :$tag_data) { my $tags = {}; map {$tags->{$_} = 1;} split(',', $tag_data) if defined $tag_data; my $pattern_obj = Program::Plist::Pl::Pattern->new(name => $name, mask_data => $m +ask_data, tags => $tags); $self->_add_pattern($pattern_obj); }
The relevant line throwing the error is the call to Program::Plist::Pl::Pattern->new.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Moose again...Debugging?
by duelafn (Parson) on Dec 19, 2010 at 18:45 UTC | |
|
Re^3: Moose again...Debugging?
by Anonymous Monk on Dec 18, 2010 at 19:07 UTC | |
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 | |
by tj_thompson (Monk) on Jan 11, 2011 at 05:33 UTC |