in reply to Loading and using packages dynamically
One possible workaround is to do the assignement in a BEGIN block.
use Foo qw(bar baz); is replaceable by require Foo; Foo->import(qw(bar baz)); which solves the next problem.
You could also take a look at Module::Load.
|
|---|