in reply to How to dynamically load modules

Hi . As soon as I understood, you should need something like this: You got your module name into $modName . At runtime, you can do
eval "require $modName"; if( $@ ){ die("Cannot load $modName : $@"); }