 vote
 |
|
Dispatch Table: The fancy name for a hash of code-refs...
In perl, code is a first class data type... you can talk about it in the same way you would talk about arrays or hashes, you can take references to them (giving you a code-ref ) and you can de-reference them (which runs the code);
Code-references are just scalars that refers to something, and you get them by using the reference-to operator:
| | |
| |
|
|