more misc cleanup
[gitmo/Class-MOP.git] / TODO
1 ---------------------------------------------------------------------
2 TODO
3 --------------------------------------------------------------------- 
4
5 - do not bless methods unless asked
6
7 We should turn off automagic method blessing for classes which are 
8 not explictly asking for a metaclass.
9
10 ---------------------------------------------------------------------
11 EXAMPLES TO WRITE
12 ---------------------------------------------------------------------
13
14 - Prototype-style example
15
16 Make a C::MOP::Class subclass which has an AUTOLOAD method, the 
17 method will DWIM depending up on the value it is passed.
18
19   Foo->prototype->say_hello(sub { print "Hello" });
20
21 This will turn into this:
22
23   Foo->prototype->add_method('say_hello' => sub { print "Hello" });
24
25 I am not sure how we should handle non-method arguments, mostly 
26 because those would be static prototype variables, which would 
27 translate to class package variables. 
28
29
30
31
32
33
34
35