At 11:04 2003-10-27 +0100, you wrote:
>At 09:49 2003-10-27 +0600, you wrote:
>>I have a problem and can't get it how to solve it.
>>When I'm using 'use Module;' in if..elsif statement I've got situation when
>>all modules is included.
>'use' loads modules at compile time. To load modules conditionally, at
>runtime, try 'require' instead. EG:
> require DBI if $dbi_wanted;
Oops. I forgot that 'use' implicitly calls import(). To fully simulate 'use
My::Info' at runtime you should do this:
This really isn't a mod_perl issue. It's just Perl stuff.