$sub = $scripts{$script}{sub} ; $sub->($file, $step); # Or &$sub($file, $step);