in reply to Re: GOTO or not GOTO
in thread GOTO or not GOTO

The arguments in that essay are a poor rendition of the arguments that Knuth gave in Structured Programming with Go To Statements. However if you read that essay carefully you will realize that modern exception handling is better for handling errors than goto, and the remaining efficiency points are all addressed completely by labeled loop control. (In fact Knuth refers to a paper proving the second point, however at the time that point was theoretical only since no languages had that feature back then. However Perl does.)

That is not to say that there are not cases where goto is still useful. But they are very rare. I can only think of 3 that I have ever seen in Perl, and none of them were in code that I wrote.