Symbolic references are loaded with caveats. If you know them and know to avoid them, you're fine, of course.
Dispatch hashes are still better. A hash is a portable namespace. Using a dispatch hash promotes separation between disjunct parts of your application's logic: in this case, the hash encapsulates the game logic, while the toplevel code handles the user input logistics.
Not to mention that just understanding that you can "store subs in a hash" is a large conceptual step that will open up an entire world of new possibilities.
Makeshifts last the longest.
In reply to Re^3: Naming Subs
by Aristotle
in thread Naming Subs
by eoin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |