The stupid question is the question not asked | |
PerlMonks |
Re: Go to?by TrekNoid (Pilgrim) |
on Apr 06, 2006 at 20:36 UTC ( [id://541726]=note: print w/replies, xml ) | Need Help?? |
So please whether you've been programming for a couple of years or like some of us 20 odd years please respond to the question not demonstrate petty prejudice! The problem is, they *have* been responding to your question... You've just forgotten what you originally asked:
but there doesn't appear to be a "go to" facility in Perl can this be true? If so is there any other method available that will allow me to jump code given certain conditions? You *did* ask if there were any other methods available to jump code, and Perl has a multitude of ways to do that without resorting to the infamous 'goto'. And I, too, am a reformed mainframer with over 20 years in the business, and I wrote of my share of GOTO and PERFORM-THRU in my day... but in the last seven years (since I've been writing Perl) I haven't *needed* one. That doesn't mean there's not occasions where it's appropriate, I just haven't had any reason to do it. You asked for other methods... you shouldn't be surprised that you got 'em...
In Section
Seekers of Perl Wisdom
|
|