Can we pass
use statements through an variable?
eg
use Association;
my $Association=new Association;
rather than having the word "Association" hardcorded in perl file. i want to be able use a variable to use it
ie
my $module="Association";
use $module;
my $association=new $module;
Start Free Trial