diff options
author | edenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-07-10 20:33:27 +0000 |
---|---|---|
committer | edenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-07-10 20:33:27 +0000 |
commit | ad0b52c377cccb45543fbd76d2e85288dfe4045e (patch) | |
tree | d438e9e8fcf0e79d495fb358eebf926a29aa8bad /lib/Reaction/Types | |
parent | 7b5e71adcc00ae151a7908c2cddcd7323408efc7 (diff) | |
download | reaction-ad0b52c377cccb45543fbd76d2e85288dfe4045e.tar.gz reaction-ad0b52c377cccb45543fbd76d2e85288dfe4045e.zip |
fixed coercion warning
Diffstat (limited to 'lib/Reaction/Types')
-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; |