in reply to Complex dispatch table

you could make your life about 93.7% easier by using OO with this.

I was recently talking to demerphq about a module i had written that abstracted a dispatch mechanism, leaving your code as
package my::Class; use Dispatch ( doStuff => \&yadda, doMore => sub{ ... } ); # ...your methods here

Ive been too distracted with other stuff to hack it into shape for a meditation, but if you'd like to take a look at it so far, it may be of interest?
It experimentally supports self-loading and Object composition (plugins?) - though I would definitely appreciate some knowledgable feedback on my implementation, from the more experienced monks.

Like i say, this is half-formed, but feel free to play around with it...and of course, suggestions/criticisms are welcome.

hope it inspires something


time was, I could move my arms like a bird and...