how about:
require Module;
cliff
Shevek wrote:
> I run a server with a lot of modules, each of which defines a handler for
> one file type, processor or output type.
>
> Loading all of these immediately any new child starts is not cheap. Is
> there any way to do a conditional 'use' on demand of these modules, as I
> may serve a lot of requests without using any given module.
>
> Currently I just 'use' everything at the top of my main handler script,
> which is always invoked for any request.
>
> Ta.
>
> S.
>
> --
> Shevek
> GM/CS/MU -d+ H+>++ s+: !g p2 au0 !a w+++ v-(---) C++++$ UL++++$ UB+
> US+++$ UI+++$ P++>++++ L++++$ 3+ E--- N K- !W(-----) M(-) !V -po+ Y+
> t+ 5++ !j !R G' !tv b+++ D++ B--- e+ u+* h++ f? r++ n---- y?
> Recent UH+>++ UO+ UC++ U?+++ UV++ and collecting.