Dynamically loading modules 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 7:30 UTC
Read the original article Hit count: 266

Filed under:
|

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

Related posts about perl

Related posts about modules