3be4283deb
A set of commonly-used type constraints that do not ship with Moose by default. Numeric: * PositiveNum * PositiveInt * NegativeNum * Int * SingleDigit String: * SimpleStr A Str with no new-line characters. * NonEmptySimpleStr Does what it says on the tin. * Password * StrongPassword * NonEmptyStr
17 lines
354 B
Text
17 lines
354 B
Text
A set of commonly-used type constraints that do not ship with Moose by default.
|
|
|
|
Numeric:
|
|
* PositiveNum
|
|
* PositiveInt
|
|
* NegativeNum
|
|
* Int
|
|
* SingleDigit
|
|
|
|
String:
|
|
* SimpleStr
|
|
A Str with no new-line characters.
|
|
* NonEmptySimpleStr
|
|
Does what it says on the tin.
|
|
* Password
|
|
* StrongPassword
|
|
* NonEmptyStr
|