aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoredenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-07-10 20:33:27 +0000
committeredenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-07-10 20:33:27 +0000
commitad0b52c377cccb45543fbd76d2e85288dfe4045e (patch)
treed438e9e8fcf0e79d495fb358eebf926a29aa8bad /lib
parent7b5e71adcc00ae151a7908c2cddcd7323408efc7 (diff)
downloadreaction-ad0b52c377cccb45543fbd76d2e85288dfe4045e.tar.gz
reaction-ad0b52c377cccb45543fbd76d2e85288dfe4045e.zip
fixed coercion warning
Diffstat (limited to 'lib')
-rw-r--r--lib/Reaction/Types/Core.pm2
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;