in reply to Re^2: using a variable with requirein thread using a variable with require
use Module::Load; ... load $package; my $obj= $package->new( %options ); $obj->do_something; [download]
No need for awkward cross-package function-calls.