So I figured out how to load a module whose $module_name
is not known till runtime.
Now, I wish to access a hash key, whose value happens to be a CODEREF.
my $hash_key = 'SOME_KEY';
my $code_ref = ${$module_name::hash}{$hash_key};
Then say:
$code_ref->(@args);
The ${$module_name::hash}{$hash_key}
is odd to me and I wonder if it works as intended?