Save some work, thanks Chip.
[gitmo/MooseX-UndefTolerant.git] / lib / MooseX / UndefTolerant / Attribute.pm
index 970b70b..97ad7ea 100644 (file)
@@ -9,7 +9,7 @@ around('initialize_instance_slot', sub {
 
     # $_[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(@_)