cpan Moose 0.37

latest releases: 2.2207, 2.2206, 2.2205...
16 years ago
  • Moose

    • fixed some details in Moose::init_meta
      and its superclass handling (thanks thepler)
    • added tests for this (thanks thepler)
    • 'has' now dies if you don't pass in name
      value pairs
    • added the 'make_immutable' keyword as a shortcut
      to make_immutable
  • Moose::Meta::Class
    Moose::Meta::Method::Constructor
    Moose::Meta::Attribute

    • making (init_arg => undef) work here too
      (thanks to nothingmuch)
  • Moose::Meta::Attribute
    Moose::Meta::Method::Constructor
    Moose::Meta::Method::Accessor

    • make lazy attributes respect attr initializers (rjbs)
    • added tests for this
  • Moose::Util::TypeConstraints
    Moose::Util::TypeConstraints::OptimizedConstraints
    Moose::Meta::TypeConstraints
    Moose::Meta::Attribute
    Moose::Meta::Method::Constructor
    Moose::Meta::Method::Accessor

    • making type errors use the
      assigned message (thanks to Sartak)
    • added tests for this
  • Moose::Meta::Method::Destructor

    • making sure DESTROY gets inlined properly
      with successive DEMOLISH calls (thanks to manito)
  • Moose::Meta::Attribute
    Moose::Meta::Method::Accessor

    • fixed handling of undef with type constraints
      (thanks to Ernesto)
    • added tests for this
  • Moose::Util

    • added &get_all_init_args and &get_all_attribute_values
      (thanks to Sartak and nothingmuch)

Don't miss a new Moose release

NewReleases is sending notifications on new releases.