From: Ned Konz Date: 2001-08-08T22:53:16+09:00 Subject: [ruby-talk:19383] Re: Perl/Python/Ruby common backend (Parrot, can Ruby play too?) On Wednesday 08 August 2001 12:20 am, Piers Cawley wrote: > Ned Konz writes: >> Calling, say, $self->SUPER::method merely skips the > > current class (and only works if written in the namespace (package) > > of the class that's being defined, not dynamically as I've wanted it > > to). > > Don't get me started on this. See the debate on the subject I had with > perl5porters about a month back. And which, having looked up the > SmallTalk way of doing it, I may be returning too. > > Annoyingly, there seems to be no way of implementing a reliable > SUPER.pm which will do the right 'dynamic' thing, because perl doesn't > cache the appropriate information when it makes the function call. In Class::Prototyped we ended up having to use closures to get "proper" super behavior dynamically. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com