in reply to Dynamically wrapping multiple modules
Then to access the symbol tablesuse Module::Locate 'locate'; require $_ for locate map "MyModule::$_", @country_code;
Both code examples neatly avoid eval STRING and comply with strictures.@{ $self->{data} } = map \%{ $MyModule::{"$_\::"}{Hash} }, @country_code;
_________
broquaint
|
|---|