Yes. But why? What does that (and the fun provided by ikegami) buy you? What value does it add to your code to forsake a simple, traditional if block?
versusif ($true) { print "eenie\n"; }
I can understand prefering a do-while over a while loop, but this is mostly pointless. I never write single line if statement anymore because i find they get in the way of debugging and growth. But I will use a do-while from time to time because it is necessary.do { print "meenie\n"; } if ($true);
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: Conditional for statement block (not just bare statement)
by jeffa
in thread Conditional for statement block (not just bare statement)
by brycen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |