I'm trying to get the input from the user and include some libraries in my run.
Is is possible to use a variable after "use"?
$filepath = "abc/xyz.pm";
$module = "xyz";
use $module;
I get the following error.
syntax error at ./abc.pl line 4, near "use $module" Execution of ./abc.pl aborted due to compilation errors.