http://www.perlmonks.org?node_id=1064475


in reply to Re^2: RFC extending Benchmark.pm to facilitate CODEHASHREF
in thread RFC extending Benchmark.pm to facilitate CODEHASHREF

To be honest, I can't remember reading that paragraph in your OP, though I may have skimmed it and absorbed it subconsciously.

I was also thinking along the lines of Test::Class::MOP's is testcase trait and how mop's method traits are basically a variation on sub attributes.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name