in reply to calling subroutines from variables
No, creating a hash of name => code ref is the normal technique. Do a search for "dispatch table".
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling subroutines from variables
by Tanktalus (Canon) on Aug 21, 2008 at 18:08 UTC | |
by mr_mischief (Monsignor) on Aug 21, 2008 at 18:26 UTC | |
|
Re^2: calling subroutines from variables
by bman1974 (Initiate) on Aug 21, 2008 at 17:21 UTC | |
by gone2015 (Deacon) on Aug 21, 2008 at 18:01 UTC |