in reply to Easy dispatch tables.
Added a feature such that subroutines whose names start with a _ do not become part of the dispatch table.
IMHO, that's backwards. In a real-life program, the dispatch table subs will be much smaller than the number of regular subs. Having a bunch of subs with a _ before them is ugly, so their use should be minimized.
I now await a post telling me how wrong I am (:
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Easy dispatch tables.
by jdporter (Paladin) on Apr 02, 2003 at 18:08 UTC | |
by hardburn (Abbot) on Apr 03, 2003 at 04:15 UTC |