sub sum($$){...} # do you really need ($$) ? That is rarely useful.