in reply to HASH value as a subroutine call

Store an actual reference

my $foo = { BLAH => \&sum };

see References quick reference