Revision history for MooseX-UndefTolerant
+0.07
+ * Don't do extra work by exists-ing before defined-ing (Chip Salzenberg)
+
0.06
* Add support for immutable classes (Chris Andrews)
* Be more careful avoiding warnings when the init_arg is undef (Chris Andrews)
use MooseX::UndefTolerant::Attribute;
use MooseX::UndefTolerant::Constructor;
-our $VERSION = '0.06';
+our $VERSION = '0.07';
Moose::Exporter->setup_import_methods(
class_metaroles => {
# $_[2] is the hashref of options passed to the constructor. If our
# parameter passed in was undef, pop it off the args...
- pop unless (defined $ia && exists($_[2]->{$ia}) && defined($_[2]->{$ia}));
+ pop unless (defined $ia && defined($_[2]->{$ia}));
# Invoke the real init, as the above line cleared the unef
$self->$orig(@_)