Hi,

Simon Cozens wrote:

> [EMAIL PROTECTED] (Ingo Blechschmidt) writes:
>> I think the only thing you're missing are two braces:
>>   $.request_class = class is Foo::Request {};
> 
> Thank you; then how do I put methods into $.request_class?

  $.request_class = class is Foo::Request {
    method blarb (...) {...}
    ...;
  };

  # or:
  $.request_class = class is Foo::Request {};
  ...;
  # later (mixin of an anonymous role):
  $.request_class does role {
    method blarb (...) {...}
    ...;
  };


--Ingo

-- 
Linux, the choice of a GNU | We are Pentium of Borg. Division is futile.
generation on a dual AMD   | You will be approximated.  
Athlon!                    |

Reply via email to