Re: AUTOLOAD in terms of throw
[email protected] (Tony Olekshy) Thu, 17 Aug 2000 19:59:00 -0600
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Organization | Avra Software Lab Inc. |
| Message-ID | <[email protected]> |
Glenn Linderman wrote: > > "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. > > But none of the currently proposed exception handling/ > reporting mechanisms support any sort of "resume" or "retry" > functionality... they just extricate you from the current code > path, and take you to a different place in some equal or > higher code path. Now it would be possible to manually code > the retry in some circumstances, for some errors. However due > to the potential for side effects in the invoking expression, > it may not be possible to do that in general, without language > support for "resume" or "retry" functionality. Yes, I believe that to do this correctly you need continuations, which are beyond the scope of the exception handling RFCs (at least to date). Yours, &c, Tony Olekshy