Skip navigation

Forgetting all the type constraint, role, and attribute handling that Moose does, I like it simply for what it’s contributed to documentation.

I’ve been using the constraint syntax for describing complicated data structures in POD and comments in cases where Moose isn’t actually involved. It’s nice to be able to simply state that a subroutine returns “ArrayRef[HashRef[Maybe[Str|HashRef[Foo::Bar]]]”. That’s a lot more comprehensible than a paragraph of description.

One Trackback/Pingback

  1. […] for Moose. <masak> I saw a blog post recently that said that Moose even helped the blogger document things more succinctly. <masak> that is, even when he wasn't using Moose, he was using habits gained from it to […]

Comments are closed.

%d bloggers like this: