in reply to Re^2: Moose - MOP.pm funny
in thread Moose - MOP.pm funny

create_parameterized_type_constraint is not a method.

Moose::Util::TypeConstraints->create_parameterized_type_constraint(... +)

should be

Moose::Util::TypeConstraints::create_parameterized_type_constraint(... +)

I wonder what purpose calling create_parameterized_type_constraint would have. Maybe it has side-effects?

I think you can delete both the "old" way and the commented way.

Replies are listed 'Best First'.
Re^4: Moose - MOP.pm funny
by martinm (Novice) on Mar 10, 2011 at 14:57 UTC
    That seems to work (more problems but it gets further!)

    Cheers.

    Martin.
      Does it behave differently if you delete the calls create_parameterized_type_constraint too?