Hi monks,
Please offer your collective wisdom on the following problem.
I have defined a hash, with values as references to functions.
Now depending on the different keys of the hash at different
points in time I would like to be able to call the relevant function.
Something like:
my %op_map=( 'OP1' => \&op1,
'OP2' => \&op2
);
my $op_choice='OP1';
#Need to execute the op1 function here.