Prevent all attribute initializers from seeing the value when we remove it, not just...
authorKaren Etheridge <ether@cpan.org>
Sat, 24 Mar 2012 21:18:31 +0000 (14:18 -0700)
committerKaren Etheridge <ether@cpan.org>
Sat, 24 Mar 2012 21:24:30 +0000 (14:24 -0700)
commit95f919704c988799ad0eca0b012fcc2a75ee69b6
tree7c6b382120d7ab51e7f512dbf7446338c9fdd2d9
parent0796f935cf34e17fddd6ec67e09e358716708aaf
Prevent all attribute initializers from seeing the value when we remove it, not just this one

This also avoids dereferencing an undef value in the wrapped method - I don't
know why this wasn't generating a warning, but it's still not optimal
Changes
lib/MooseX/UndefTolerant/Attribute.pm