in reply to use strict refs unless you can't figure out the syntax
Why not put the fully qualified function name into the hash?
$request_hash{Logic} = 'request_logic::funcname';
Then invoking the function becomes:
eval { &{ $request_hash{Logic} }( $request_hash_ref, $log_file ); }; if( $@ ) { ...
|
|---|