Store an actual reference
my $foo = { BLAH => \&sum };
see References quick reference
In reply to Re: HASH value as a subroutine call
by Anonymous Monk
in thread HASH value as a subroutine call
by enigma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |