my $total = 10; $total = $dispatch{'g6'}->($total); $total = $dispatch{'k5'}->($total); print $total, "\n";