Don't define a coercion directly to a class like URI. Make a subtype
authorDave Rolsky <autarch@urth.org>
Wed, 11 Feb 2009 19:31:37 +0000 (19:31 +0000)
committerDave Rolsky <autarch@urth.org>
Wed, 11 Feb 2009 19:31:37 +0000 (19:31 +0000)
commit3a4bb3ecba2480afb1d069aba9bb5e7da0bcb1a2
treeceec79b40ec1e0a5fe479ee192e75592d334fdb3
parent1ad2aa8ed94a903175c59a26a6981877b7fd817c
Don't define a coercion directly to a class like URI. Make a subtype
and coerce that instead.
lib/Moose/Cookbook/Basics/Recipe5.pod
t/000_recipes/basics/005_coercion.t