Dan Sugalski wrote:
> At 12:33 PM 2/1/2001 -0500, Michael G Schwern wrote:
> > Have a look at AnyLoader in CPAN.
> 
> Looks pretty close to what's needed. Care to flesh it out (and streamline
> it where needed) to a PDD?

Isn't the trick to detect the necessary modules at compile time? Run-time
can always be handled with a UNIVERSAL AUTOLOAD -- it doesn't need to be
part of the core. Run-time autoload should be a replaceable module like
the debugger. (Perhaps the presence of an AUTOLOAD should turn off compile-
time autoloading too?)

We're also going to need MakeMaker support for updating the registry of
sub name -> module mappings. We don't want to force full module names for
everything. Maybe the EXPORT list should be registered without module
names and the EXPORT_OK list with module names?

- Ken

Reply via email to