It is just like you ask me why "goto" is bad in *this* case, I will say, no, it is bad in every case, you should never ever use it.
Objection. I have never used goto itself, but last, next and so on are little more than glorified gotos and I use these religiously. And I'm fairly certain there may at some point be a case when goto will be more appropriate than any "structured" approach and in that case, I won't hesitate to use it.
Also don't forget that OO in Perl is nothing but symbolic lookups.
You are right of course that dispatch hashes are better.
Makeshifts last the longest.
In reply to Re^4: Naming Subs
by Aristotle
in thread Naming Subs
by eoin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |