in reply to How to call a sub ref from a hash
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.
|
|---|