Simplify the logic to throw an error on an undef or ! blessed delegatee.
authorDave Rolsky <autarch@urth.org>
Thu, 2 Jul 2009 20:42:53 +0000 (15:42 -0500)
committerDave Rolsky <autarch@urth.org>
Thu, 2 Jul 2009 20:42:53 +0000 (15:42 -0500)
commit6148c16743ccbfbe259f2b93f239ac5775a218e0
tree7a9d75327ae2c5b3095992a1665c833273bc2714
parente9c2746e922547b99f67f231edef6c232f0e3140
Simplify the logic to throw an error on an undef or ! blessed delegatee.

Add a test for undef in the delegatee slot.
lib/Moose/Meta/Method/Delegation.pm
t/020_attributes/010_attribute_delegation.t