Help for this page
my %lookup = ( foo=>\&fooaction, ... else { #do the default or exception handling here. }
&{ $lookup{$var} || $default_subref }->( parms );