From: "Sharan Basappa" <sharan.basa...@gmail.com> > Hi Jenda, Rob, Shawn, > > I am attaching a sample flowchart figure. > > Step1 and Step2 are the process steps and D1 and D2 are the decisions. > > Will this code translate to the foll in perl? > > do > { > do > { > step1 > } while (D1) > step2 > } while (D2)
Could be. Except that you seem to have the conditions reverted. > What if D2 traces back to Step2 instead? How would the code change? do { step1 } while (D1) do { step2 } while (D2) Jenda ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/