http://qs321.pair.com?node_id=922171


in reply to Introspection of Moose/Mouse attributes fails to find native trait with `does`

Just setting the "isa" to "Bool" is not doing what you think it is doing. You want to actually add the "Bool" Trait like so

package MyCow; use Moose; # or Mouse has "guernsey" => traits => [ 'Bool' ], is => "rw", isa => "Bool", ;
At which point $attr->does("Moose::Meta::Attribute::Native::Trait::Bool") will return true.

-stvn