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
- Re: Why shouldn't sleep(0.5) DWIM? Nicholas Clark
- Re: Why shouldn't sleep(0.5) DWIM? David Grove
- Re: Why shouldn't sleep(0.5) DWIM? John Porter
- Re: Why shouldn't sleep(0.5) DWIM? Simon Cozens
- Re: Why shouldn't sleep(0.5) DWIM? abigail
- Re: Why shouldn't sleep(0.5) DWIM? John Porter
- Re: Why shouldn't sleep(0.5) DWIM? James Mastros
- Re: Why shouldn't sleep(0.5) DWIM? Stephen P. Potter
- Re: Why shouldn't sleep(0.5) DWIM? Bart Lateur
- Re: Why shouldn't sleep(0.5) DWIM? Nicholas Clark
- Re: Why shouldn't sleep(0.5) DWIM? Branden
- Re: Why shouldn't sleep(0.5) DWIM? Simon Cozens
- Re: Why shouldn't sleep(0.5) DWIM? Andreas J. Koenig
- Re: Why shouldn't sleep(0.5) DWIM? Casey R. Tweten
- Re: Why shouldn't sleep(0.5) DWIM? Andy Dougherty
- Re: Why shouldn't sleep(0.5) DWIM? abigail
- Re: Why shouldn't sleep(0.5) DWIM? Dan Sugalski
- Re: Why shouldn't sleep(0.5) DWIM? David Cantrell
- Re: Why shouldn't sleep(0.5) DWIM? Andy Dougherty
- Re: Why shouldn't sleep(0.5) DWIM? Jarkko Hietaniemi
- Re: Why shouldn't sleep(0.5) DWIM? abigail