in reply to Some Moose questions

You are confusing core Moose types with MooseX::Types.

Core Moose types (those created with Moose::Util::TypeConstratints are not the same as MooseX::Types created types. If you are not using MooseX::Types, then you will always want to quote your type names because of exactly the documented issue you quoted. However with MooseX::Types, a subroutine is created for you which you can then use as a bareword so quoting is not needed (however you do need to watch out for automagic stringification using the fat comma).

-stvn

Replies are listed 'Best First'.
Re^2: Some Moose questions
by tj_thompson (Monk) on Nov 19, 2010 at 22:46 UTC
    Oooh so let's make certain I understand this then. That means the MooseX::Types::Moose is giving you the core Moose types as MooseX::Types types which then means you don't have to worry about quoting those either, right?

      Yes, exactly.

      -stvn
Re^2: Some Moose questions
by tj_thompson (Monk) on Nov 19, 2010 at 22:38 UTC
    Excellent, that makes me feel better about not using quotes then. I had planned to use MooseX::Types. There's just so much Moose documentation that I was getting confused while I waded through it all. I appreciate you taking the time out to help!