in reply to while() {}
as suffix never executes:$ perl -MO=Deparse -e 'while() { print "1\n" }' while (1) { print "1\n"; } -e syntax OK
$ perl -MO=Deparse -e 'print "1\n" while ()' print "1\n" while (); -e syntax OK
Casiano
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: while() {}
by ikegami (Patriarch) on May 03, 2008 at 10:56 UTC |