At 09:49 2003-10-27 +0600, you wrote:
Hello!
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;

hth,
Mark



Reply via email to