[Templates] [PATCH] lazily load File::Temp

Vivek Khera khera@kcilink.com
Fri, 1 Nov 2002 15:37:29 -0500


>>>>> "dc" == darren chamberlain <dlc@users.sourceforge.net> writes:

>> If I don't do "use Template;" in my startup script, each child will
>> get the pleasure of loading and compiling it all when the first script
>> that uses Template gets executed.

dc> Unless one of the other modules that you use in your startup script
dc> happens to use Template, in which case you'll be OK.

Well, that's still "use Template;" as far as I'm concerned.

I was really just being pedantic...  but think of a hosting situation
where the startup is pretty bare, and some Registry program uses the
template.

I personally don't think the preload should be called automagically,
even if it does the right thing most of the time.