projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7b5e71a
)
fixed coercion warning
edenc [Fri, 10 Jul 2009 20:33:27 +0000 (20:33 +0000)]
lib/Reaction/Types/Core.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/Types/Core.pm
b/lib/Reaction/Types/Core.pm
index
559e48f
..
166a3da
100644
(file)
--- 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;