1 ---------------------------------------------------------------------
3 ---------------------------------------------------------------------
5 - check out what chromatic said:
7 I think you can check the class key <_ISA to see if it has expired.
9 - switch to Context::Handle for method modifiers
11 Should probably write some more tests to verify this works correctly
12 when we add it in, to make sure we don't break weird stuff.
14 - add ::Attribute::Collection types
16 mugwump was working on this ...
18 - do not bless methods unless asked
20 We should turn off automagic method blessing for classes which are
21 not explictly asking for a metaclass.
23 ---------------------------------------------------------------------
25 ---------------------------------------------------------------------
27 - Prototype-style example
29 Make a C::MOP::Class subclass which has an AUTOLOAD method, the
30 method will DWIM depending up on the value it is passed.
32 Foo->prototype->say_hello(sub { print "Hello" });
34 This will turn into this:
36 Foo->prototype->add_method('say_hello' => sub { print "Hello" });
38 I am not sure how we should handle non-method arguments, mostly
39 because those would be static prototype variables, which would
40 translate to class package variables.
42 ---------------------------------------------------------------------
44 ---------------------------------------------------------------------
46 - Make a Class::MOP::Package
48 Class::MOP::Class would be a subclass of this, but I am not sure
49 this is worth the time.