my %table = (name1 => \&subname1, name2 => \&subname2 ... );