($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);
In reply to Re^2: calling a function as a value from a hash
by Beechbone
in thread calling a function as a value from a hash
by shobhit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |