2. References to Functions
One can take the reference of a function and store it inside a scalar variable (or an array or hash value). This value can later be dereferenced and called with some arguments.
The effect of such call is exactly the same as the effect of calling the function directly.
- 2.1. Taking the Reference of a Function
- 2.2. Calling a Function by its Reference
- 2.3. Dynamic References to Functions