generate_method checks if default is a coderef
authorVyacheslav Matyukhin <mmcleric@yandex-team.ru>
Wed, 6 Jun 2012 19:51:50 +0000 (23:51 +0400)
committerChristian Walde <walde.christian@googlemail.com>
Tue, 26 Jun 2012 19:01:14 +0000 (21:01 +0200)
commit533797e172427f98b5529a1643d48a0a56a2c629
tree5b5eea355eb2b09dc7d9b89c7c67c16c4a8684c2
parent627063f747490fee83eb70650d7d0403e62ba68b
generate_method checks if default is a coderef

Blessed objects are allowed, scalars and non-blessed non-subs are not
allowed.
lib/Method/Generate/Accessor.pm
t/method-generate-accessor.t