Ovid wrote:
> Requiring methods and requiring methods to be called are different things.  
> It might be a nice feature to have roles which tie into "events".  If a 
> particular condition doesn't hold true by, say, INIT time, the role fails.
>
> How would I implement something like that in Perl 6?  Or am I just looking at 
> this wrong?

AFAICT, event-driven programming hasn't been incorporated into Perl 6
yet.  S17 has mention of an event loop, and S12 speculates on a WHEN
introspective method that would have something to do with events.

-- 
Jonathan "Dataweaver" Lang

Reply via email to