o0lit3 has asked for the wisdom of the Perl Monks concerning the following question:
Perlmonks and golf aliens,
Is there a shorter way to write:
o0lit3
Is there a shorter way to write:
...ideally such that any braces and/or parentheses can be removed (without causing syntax errors - c.f. the code below).while(@x){1while$x!=$y}
Cheers,1while$x!=$y while@x
o0lit3
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Golf Question - Shortest way to write while inside while
by ikegami (Patriarch) on Nov 08, 2007 at 01:01 UTC | |
Re: Golf Question - Shortest way to write while inside while
by ambrus (Abbot) on Nov 08, 2007 at 09:14 UTC | |
by ikegami (Patriarch) on Nov 08, 2007 at 09:42 UTC | |
by ambrus (Abbot) on Nov 08, 2007 at 10:16 UTC |
Back to
Seekers of Perl Wisdom