There are many ways to solve your problem, goto is 1 of them sure, but it is one that many of use prefer to avoid. That doesn't signifiy a lack of experience or knowledge, its just a preference.
No sorry it demonstarates clearly a lack of experience! Not in the way that you seem to have interpreted the statement but that's your problem not mine! The fact that I ask questions on this site indicates that my Perl experience is not great but in 32 years of programming I have a lot of experience working for different companies and that is the experience that I'm referring to! Were I to write this application from scratch then I would try not to use a goto but the constraints placed upon a humble programmer working with 3rd party code that I can't see never mind change forces the LCD solution! In this particular case a GOTO seems to be the most logical if not ideal solution! Sorry if this offends your sensibilities but life sucks what can I say!?
One final English lesson - "preference" implies choice - in this case I have none as re-writing the 3rd party code is NOT an option.
In reply to Re^2: Go to?
by Ronnie
in thread Go to?
by Ronnie