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

Possible typo in Type::Tiny::Manual::UsingWithMoo #12

Closed
bpj opened this issue Aug 9, 2014 · 1 comment
Closed

Possible typo in Type::Tiny::Manual::UsingWithMoo #12

bpj opened this issue Aug 9, 2014 · 1 comment

Comments

@bpj
Copy link
Contributor

bpj commented Aug 9, 2014

In the $PositiveInt declaration's inline_as block in the synopsis

inline_as { "$_ =~ /^[0-9]\$/ and $_ > 0" };

Shouldn't the \ be a + or else there is a + missing before it, to allow integers > 9 ?

@tobyink
Copy link
Owner

tobyink commented Aug 11, 2014

Thanks - fixed.

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

No branches or pull requests

2 participants