From: "Sharan Basappa" <[email protected]>
> 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
===== [email protected] === 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/