Fixed the example showing parameter type constraints
authorNaveed Massjouni <naveedm9@gmail.com>
Sat, 7 Sep 2013 08:30:11 +0000 (04:30 -0400)
committerNaveed Massjouni <naveedm9@gmail.com>
Sat, 7 Sep 2013 08:30:11 +0000 (04:30 -0400)
commit382626afe1622f3d97b6ad4cf132263b3b7aad4d
treeab86a2271079ba15b57653bd408cd2ef3ba3930e
parentff265988561375d3cf480004e29e3891094c0afb
Fixed the example showing parameter type constraints

String is not a Moose::Util::TypeConstraints type. To make the example
work, it needs to be Str.
See https://metacpan.org/module/Moose::Util::TypeConstraints
lib/Function/Parameters.pm