diff options
-rw-r--r-- | lib/Reaction/Types/Core.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Reaction/Types/Core.pm b/lib/Reaction/Types/Core.pm index 559e48f..166a3da 100644 --- a/lib/Reaction/Types/Core.pm +++ b/lib/Reaction/Types/Core.pm @@ -52,7 +52,7 @@ subtype SingleDigit, #message will require moose 0.39 class_type 'URI'; #class_type 'URI', message { 'Must be an URI object'}; -coerce 'URI', from 'Str', via { URI->new($_) }; +coerce 'URI', from Str, via { URI->new($_) }; 1; |