Nicholas Clark wrote:
> On Wed, Jan 31, 2001 at 12:58:01PM +0100, Bart Lateur wrote:
> > It doesn't have to be like that. Functions that are not in the core can
> > still be automatically loaded, but only if your code actually uses them.
> > That could make the perl kernel a lot smaller than it is now, and
> > hopefully, make it load faster.
>
> I agree
>
> dbmopen() already loads AnyDBM_File to do the real work without the
> user (or script) knowing, so this idea could be extended.
>
> Nicholas Clark
>

I think a generic method of doing this, like AUTOLOAD is for modules, would
be a good thing. Whenever an inexistent sub is called and it cannot be found
in existing packages and by package's AUTOLOAD's, this special sub is called
and it can auto-load packages that provide such functionality. Then there
would be a generic way to do such things.

- Branden

Reply via email to