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