[Israel.pm] use and require

Shmuel Fomberg owner at semuel.co.il
Sun Mar 20 03:03:28 PDT 2011


>> In the case of an editor, I would expect it to load a minimum on
>> startup, but then load silently all the other features, so the user
>> won't need to wait when he needs them.
>> And there, in the code that loads the features, there should be all the
>> requires.
> Shall we load all these modules and take up memory
> space even if the user never uses any of the features?
Yes.
Come on, memory is cheap. if you sit and worry about it, you waste effort.
load everything silently, and let the user feel quick response.

Shmuel.


More information about the Perl mailing list