If the syntax the other monks have pointed out is too confusing, you could also always use an intermediate variable:
my $coderef = $Procedures{$Procedure}; $coderef->($Parameter);
...with the added benefit that even the average newbie would figure out the intention, just going by the variable name.
In reply to Re: How to call a sub ref from a hash
by almut
in thread How to call a sub ref from a hash
by NateTut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |