CPAN-API/metacpan-web — Issue #402: Coercion example doesn't work because of omission
Author: billious
Created: 2011-12-01 00:09:02+00:00
State: open

I'm using (XAMPP):

This is perl, v5.10.1 (*) built for darwin-2level

perl -MMoose -E 'say $Moose::VERSION'

1.24

I couldn't use the Moose sugar words "as", "coerce", "from", "subtype", and "via" as shown in the document examples until I also included the following not seen in the example:

use Moose::Util::TypeConstraints;

Regards