On Wed, 9 Aug 2000 14:26:25 +0100, Graham Barr wrote: >That is being considered. IF that does become part of the language I could >see subs do something like > > if (defined $SELF) { > called as a method > } > else { > called as a sub > } That was my idea. The current unfixable bug I showed in CGI.pm would easily be fixed. However, Hildo's argument WRT inheritance makes me less convinced that it is the ultimate ideal. -- Bart.
- Re: How to implement both object->method and module... Graham Barr
- Re: How to implement both object->method and m... Hildo Biersma
- Re: How to implement both object->method a... Philip Newton
- Re: How to implement both object->meth... Hildo Biersma
- Re: How to implement both object->meth... Graham Barr
- Re: How to implement both object->meth... Bart Lateur
- Re: How to implement both object->meth... Hildo Biersma
- Re: How to implement both object->meth... Bart Lateur
- Re: How to implement both object->meth... Graham Barr
- Re: How to implement both object->meth... Graham Barr
- Re: How to implement both object->meth... Bart Lateur
- Re: How to implement both object->method and m... John Berthels
- Re: How to implement both object->method a... Jonathan Scott Duff
- Re: How to implement both object->meth... Graham Barr
- Re: How to implement both object->meth... Chaim Frenkel
- Re: How to implement both object->meth... Graham Barr
- Re: How to implement both object->meth... Chaim Frenkel
- Re: How to implement both object->meth... Graham Barr
- Re: How to implement both object->meth... John Berthels
- Re: How to implement both object->meth... Tim Bunce
- Re: How to implement both object->meth... Michael Fowler