How do I load a module at runtime in Perl?
Posted
by petersohn
on Stack Overflow
See other posts from Stack Overflow
or by petersohn
Published on 2010-05-18T07:24:31Z
Indexed on
2010/05/18
13:40 UTC
Read the original article
Hit count: 189
Is it possible to load a module at runtime in Perl? I tried the following, but it didn't work. I wrote the following somewhere in the program:
require some_module;
import some_module ("some_func");
some_func;
© Stack Overflow or respective owner