in reply to Re^5: Easy dispatch tables. (can() be even easier)
in thread Easy dispatch tables.

I agree, that's pretty simple. However, you still don't have all of the advantages of working with a hash, such as keys, values, and tie. And sure, you could define your own function do to that, but why would you want to if there is a module that does it for you? You don't write your own CGI parsing routines, do you?

Replies are listed 'Best First'.
Re^7: Easy dispatch tables. (see previous)
by Aristotle (Chancellor) on Apr 04, 2003 at 15:25 UTC
    True, but that's why I gave my last two examples.

    Makeshifts last the longest.