It appears you have already been sufficiently answered, but I have a quick nitpicky comment that will probably get me some giggle-inducing downvotes. In your question, you say:
I have a sub routine which returns a HASH reference to a data structure as follows
$myhash{$key}->($value1, $value2)
I'm not sure if you meant that %myhash contains an array reference at $key, but your code seems to indicate that it's actually a code reference. The syntax you have is exactly that for calling a code reference, and passing $value1 and $value2 as arguments to it.
In reply to Re: A dereferencing problem
by revdiablo
in thread A dereferencing problem
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |