MooX::NewDefaults

Ever start using a package from the CPAN, only to discover that it
requires lots of subclassing and "has '+foo' => (default => ...)"? It's
not recommended Moose best practice, and it's certainly not the
prettiest thing ever, either.

That's where we come in.

This package introduces new sugar that you can use in your class,
"default_for" (as seen above).

e.g.

    has '+foo' => (default => sub { 'a b c' });

...is the same as:

    default_for foo => sub { 'a b c' };

INSTALLATION

This is a Perl module distribution. It should be installed with whichever
tool you use to manage your installation of Perl, e.g. any of

  cpanm .
  cpan  .
  cpanp -i .

Consult http://www.cpan.org/modules/INSTALL.html for further instruction.
Should you wish to install this module manually, the procedure is

  perl Makefile.PL
  make
  make test
  make install

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Chris Weyl
<cweyl@alumni.drew.edu>.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999