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.
In reply to Re^2: Moose again...Debugging?
by tj_thompson
in thread Moose again...Debugging?
by tj_thompson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |