![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^2: "Dynamic" dispatch tablesby elTriberium (Friar) |
on Apr 29, 2011 at 20:26 UTC ( #902069=note: print w/replies, xml ) | Need Help?? |
You're right, I'm not sure yet if I really need a hash. I'll have to figure out some of the details.
I also already started using the "not exists" part, but running into a problem with that: I want to move the setup of the dispatch table / array into a module, but in the module the "exists &{"tcid_$_"} always fails as the sub is not defined in this module. Is there a good workaround for this?
In Section
Seekers of Perl Wisdom
|
|