ikegami has asked for the wisdom of the Perl Monks concerning the following question:
A while back, I heard someone mention that do { ... } while ...; would disappear in perl6. Does someone know the reason? Could it be remove the special treatement do receives (as shown in the following snippet)?
$i = 4; print($i) while ($i--); # 3210 $i = 4; do { print($i) } while ($i--); # 43210
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Disappearance of 'do while' in perl6
by Juerd (Abbot) on Oct 20, 2004 at 20:56 UTC | |
|
Re: Disappearance of 'do while' in perl6
by BrowserUk (Patriarch) on Oct 20, 2004 at 19:12 UTC | |
by ikegami (Patriarch) on Oct 20, 2004 at 19:24 UTC | |
|
Re: Disappearance of 'do while' in perl6
by Arunbear (Prior) on Oct 20, 2004 at 19:58 UTC | |
by Joost (Canon) on Oct 20, 2004 at 20:36 UTC |