If we are going to have pre-compiled modules (bytecode or machine) why
bother with AUTOLOAD? 

The "registry" would handle the 'autoloading'

<chaim>

>>>>> "DS" == Dave Storrs <[EMAIL PROTECTED]> writes:

DS> On Fri, 11 Aug 2000, David L. Nicol wrote:

DS> [...]
>> Redefining a method during run time --- is that even a feature that
>> needs to be supported?

DS>     I think so.  A couple of examples are the Memoize module, which
DS> works by rewriting your memoized function into something that uses
DS> caching, then replacing the old version with the new version in the stash.

DS>     Another time you would want to do this would be the following: you
DS> write your AUTOLOAD function such that, when it receives a request it can
DS> handle, it creates a sub to handle the request and installs the sub 
DS> directly in the stash so that, the next time you need that function, you
DS> don't need to traverse @ISA before going to AUTOLOAD.

DS>                             Dave 





-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to