in reply to Re: calling a function as a value from a hash
in thread calling a function as a value from a hash
($op_map{$op_choice}||$defaultaction)->(@args); ($op_map{$op_choice}||$op_map{defaultaction})->(@args); ($op_map{$op_choice}||sub {die "'$op_choice' is invalid"})->(@args);
|
|---|