"Sometimes I wish one line blocks for if-else statements didn't require brackets..."
I use to say the same thing until i realized they don't:A caveat i teach my C++ lab students (i am a graduate teaching assistant at MTSU) is that even though braces are optional for one line blocks, they should get in the habit of using them always. Why? Because 9 times outta 10 you will want to add a second line in the near future. Murphy's law or something ... ;)print "that's the answer" if $answer == 42; die "that's not your file!" unless -o $file;
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 (jeffa) 3Re: Expand Ranges in Lists of Numbers
by jeffa
in thread Expand Ranges in Lists of Numbers
by The Mad Hatter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |