working-on-it
[gitmo/Class-MOP.git] / TODO
CommitLineData
682a6e93 1---------------------------------------------------------------------
2TODO
3---------------------------------------------------------------------
4
5- switch to Context::Handle for method modifiers
6
7Should probably write some more tests to verify this works correctly
8when we add it in, to make sure we don't break weird stuff.
9
10- add ::Attribute::Collection types
11
12mugwump was working on this ...
13
14---------------------------------------------------------------------
15EXAMPLES TO WRITE
16---------------------------------------------------------------------
17
18- Prototype-style example
19
20Make a C::MOP::Class subclass which has an AUTOLOAD method, the
21method will DWIM depending up on the value it is passed.
22
23 Foo->prototype->say_hello(sub { print "Hello" });
24
25This will turn into this:
26
27 Foo->prototype->add_method('say_hello' => sub { print "Hello" });
28
29I am not sure how we should handle non-method arguments, mostly
30because those would be static prototype variables, which would
31translate to class package variables.
32
33---------------------------------------------------------------------
34TO PONDER
35---------------------------------------------------------------------
36
37- Make a Class::MOP::Package
38
39Class::MOP::Class would be a subclass of this, but I am not sure
40this is worth the time.
41
42
43
44
45
46
47
48
49