Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add where constraints. #7

Closed
schwern opened this issue Mar 21, 2011 · 1 comment
Closed

Add where constraints. #7

schwern opened this issue Mar 21, 2011 · 1 comment

Comments

@schwern
Copy link
Contributor

schwern commented Mar 21, 2011

 Int $Positive_Int where { $_ > 0 };

As an adjunct to the type system, free form constraints.

This is compatible with Perl 6 and MooseX::Method::Signatures.

@barefootcoder
Copy link
Contributor

Fixed in version 20121201.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants