I have a Perl program, that needs to use packages (that I also write). Some of those packages are only chosen in Runtime (based on some environment variable). I don\'t want
"use" Statements are run at compilation time, not at run time. You will need to require your modules instead:
my $module = "Foo::Bar"; eval "require $module";