use Module::Load; ... load $package; my $obj= $package->new( %options ); $obj->do_something;
No need for awkward cross-package function-calls.
In reply to Re^3: using a variable with require
by NERDVANA
in thread using a variable with require
by geoffleach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |