AUTOLOAD in terms of throw

2000-08-17 Thread David L. Nicol
Graham Barr wrote: On Wed, Aug 16, 2000 at 04:49:15PM -0500, David L. Nicol wrote: or AUTOLOAD can be defined in terms of Ccatch and overloaded that way, rather than being its own kind of magic. catch "AUTOLOAD-$classname-$polymorphicsignature" {... But why should I have

Re: AUTOLOAD in terms of throw

2000-08-17 Thread Glenn Linderman
"David L. Nicol" wrote: What I was suggesting was, if you want to overload the autoloading of something, it could be done with "catch" instead of rewriting the ::OVERLOAD procedure, for that module. "method not loaded" becomes an exception which is thrown, rather than "AUTOLOADING" being

yoda 2 clarifications Re: AUTOLOAD in terms of throw

2000-08-17 Thread David L. Nicol
I had been thinking of some special goto labels, things like BEGINNING and END which would signify the beginning and end of the block enclosing the throw; perhaps every SCOPE object could have these labels refered to in terms of them. inside a Ccatch we need to have access to a lot of internal