Thank you for your hint.
Actually I mixed up the subtypes from Moose::Util::TypeConstraints and from MooseX::Types, like in this previous post.
And it is even mentioned in the man page of Moose::Manual::Types under "type names". See, when rtfm, you have to chose the right one too ..
In reply to Re^2: problem with using subtype from MooseX::Types::NetAddr::IP
by lune
in thread problem with using subtype from MooseX::Types::NetAddr::IP
by lune
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |