On 12/20/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote:

> I want to be able to choose the wanted module at runtime

At runtime, or at compile time? You have to write your code with some
additional care if it has to be compiled before the module is loaded.

In any case, see the source for AnyDBM_File for an example of a module
that loads one module of many possibilities. The command below should
show you the source on your system:

    perldoc -m AnyDBM_File

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to