Int type constraint allowed for a newline character due to the /^..$/ syntax. Use...
authorMatthew Horsfall <wolfsage@gmail.com>
Wed, 2 Mar 2011 18:42:52 +0000 (13:42 -0500)
committerJesse Luehrs <doy@tozt.net>
Thu, 3 Mar 2011 05:33:31 +0000 (23:33 -0600)
commitf55fba5ca6833056e1f8788fc9fde94c14907699
tree0548f375bb27e3243119e52f8846bb82b339a4ae
parent4bc1dbce5b40007f1acdc8672b4b7265a2d0e550
Int type constraint allowed for a newline character due to the /^..$/ syntax. Use /\A..\z/ instead.
lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
t/040_type_constraints/003_util_std_type_constraints.t