There's more than one way to do things | |
PerlMonks |
Re: elsif chain vs. dispatchby Burak (Chaplain) |
on Apr 26, 2009 at 22:19 UTC ( [id://760205]=note: print w/replies, xml ) | Need Help?? |
Your example is not practical. Dispatch tables are usually defined once outside the code that runs it. I suggest creating a test code like:
In Section
Seekers of Perl Wisdom
|
|