requires => {
'Scalar::Util' => '1.18',
'Carp' => '0',
- 'Class::MOP' => '0.29_01',
+ 'Class::MOP' => '0.29_02',
'Sub::Name' => '0.02',
'UNIVERSAL::require' => '0.10',
'Sub::Exporter' => '0.954',
Revision history for Perl extension Moose
0.09_03
+ ++ DEVELOPER RELEASE ++
* Moose
- 'use strict' and 'use warnings' are no longer
needed in Moose classes, Moose itself will
- as with Moose, strict and warnings are
automatically turned on for you.
- added tests for this
-
- * Moose::Meta::Class
- - now handles some moose-specific options in
- &create
* Moose::Meta::Role
- now handles an edge case for override errors
- added some more edge case tests
0.09_02 Tues. May 16, 2006
+ ++ DEVELOPER RELEASE ++
* Moose
- added prototypes to the exported subs
- updated docs
t/013_inner_and_augment.t
t/014_override_augment_inner_super.t
t/015_override_and_foreign_classes.t
+t/016_always_strict_warnings.t
+t/017_wrapped_method_context_propagation.t
t/020_foreign_inheritence.t
t/021_moose_w_metaclass.t
t/022_moose_respects_base.t
t/045_role_exclusion.t
t/046_roles_and_required_method_edge_cases.t
t/047_role_conflict_edge_cases.t
+t/048_more_role_edge_cases.t
t/050_util_type_constraints.t
t/051_util_type_constraints_export.t
t/052_util_std_type_constraints.t
TODO
-------------------------------------------------------------------------------
+- should handle some moose-specific options in &Moose::Meta::Class::create
+ things like roles, and method modifiers (although those can probably be
+ ignored if i want to)
+
- type unions
Add support for doing it with Classes which do not have
my ($class, %params) = @_;
my $self = $class->SUPER::new_object(%params);
foreach my $attr ($class->compute_all_applicable_attributes()) {
+ # FIXME:
+ # this does not accept undefined
+ # values, nor does it accept false
+ # values to be passed into the init-arg
next unless $params{$attr->init_arg} && $attr->can('has_trigger') && $attr->has_trigger;
$attr->trigger->($self, $params{$attr->init_arg}, $attr);
}