in reply to How to pass a variable to function selected from a hash
$subref->(@args); # or, for a subref in a hash: $hash{key}->(@args); # in 5.6, you can even leave out the -> if you want: $hash{key}(@args); [download]