Re: signal/slot like mechanism

2003-03-08 Thread Yannick Le Saint
On Friday 07 March 2003 11:34, Luke Palmer wrote: > > Hi guys, i was just wondering if some notification mechanism ( > > signal/slot alike ) was planned in perl 6, like they already are in > > glib and qt ? > > class Signal { > has @.dest; > > method emit($code) { $code($_) for @.dest

Re: signal/slot like mechanism

2003-03-07 Thread Dan Sugalski
At 6:27 PM + 3/6/03, Yannick Le Saint wrote: Hi guys, i was just wondering if some notification mechanism ( signal/slot alike ) was planned in perl 6, like they already are in glib and qt ? I'm not exactly sure what you're looking for, since I'm not too familiar with qt or glib, but if you m

Re: signal/slot like mechanism

2003-03-07 Thread Luke Palmer
> Hi guys, i was just wondering if some notification mechanism ( > signal/slot alike ) was planned in perl 6, like they already are in > glib and qt ? class Signal { has @.dest; method emit($code) { $code($_) for @.dest } method attach($obj) { push @.dest: $obj } } class

signal/slot like mechanism

2003-03-07 Thread Yannick Le Saint
Hi guys, i was just wondering if some notification mechanism ( signal/slot alike ) was planned in perl 6, like they already are in glib and qt ? Or is it maybe better if implemented in some perl6 module (don't think so) ?? Or maybe this matter has already been discussed and is now closed