in reply to Go to?
But seriously, looking to use a goto is generally a sign that your program logic is flawed, and perhaps some re-thinking is in order.
Update: I didn't realise (until I saw the response from monarch) that you had updated your original question with the example - obviously meant as a reply to this node. However, I still stand by what I said above. I've only been using Perl for a couple of years, but in that time I've never used a goto. I've no doubt that there may be the very odd situation where it's use is warranted, but I've yet to encounter one.
Cheers,
Darren :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Go to?
by gregor42 (Parson) on Apr 05, 2006 at 18:36 UTC | |
by McDarren (Abbot) on Apr 06, 2006 at 03:00 UTC | |
by hawtin (Prior) on Apr 06, 2006 at 08:37 UTC | |
by diotalevi (Canon) on Apr 11, 2006 at 12:07 UTC | |
|