|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^5: No Pause on Elsif in Debugger (history)by tye (Cardinal) |
| on Jul 24, 2004 at 02:47 UTC ( #377060=note: print w/ replies, xml ) | Need Help?? |
|
My somewhat wild conjecture is that this is related to how line numbers are reported incorrectly for elsif code (the number of the line of the if is reported instead). The broken line numbering is clearly a bug and justifies more effort be marshaled to fix it than the debugger issue. Further, I conjecture that both are somewhat affected by the Perl4 optimization where a suitable if/elsif/else chain is converted into an efficient 'switch statement' (computed goto). - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||