$op_map{$op_choice}->(@args);
or, as well
&{$op_map{$op_choice}}(@args);
Or even
$op_map{$op_choice}(@args)In reply to Re^2: calling a function as a value from a hash
by betterworld
in thread calling a function as a value from a hash
by shobhit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |