The start of a working implementation. Several things left to be
authorDave Rolsky <autarch@urth.org>
Thu, 20 Sep 2007 22:24:19 +0000 (22:24 +0000)
committerDave Rolsky <autarch@urth.org>
Thu, 20 Sep 2007 22:24:19 +0000 (22:24 +0000)
commit0f24a39d98269d89db1b902d5c763124ce5fc797
treee785f197433e61d0a8acbac6fb7cb525254f5e46
parent4dee0fd36e42cb0e22e39a652bd931197a72ccc3
The start of a working implementation. Several things left to be
resolved ...

How to set the default for a non-lazy class attribute, since it
doesn't get set in a constructor?

How to avoid having these attributes show up in the object hash. This
requires messing with the inline & not-inline constructor.

Make clearer and predicate options work with class attributes.

More tests - reader, writer, predicate, clearer, coercion, lazy, etc.
lib/MooseX/ClassAttribute.pm
lib/MooseX/ClassAttribute/Meta/Method/Accessor.pm [new file with mode: 0644]
t/01-basic.t [new file with mode: 0644]
t/02-immutable.t [new file with mode: 0644]
t/lib/SharedTests.pm [new file with mode: 0644]