Luke Palmer wrote: > This is for everyone: <<EOA4 > > ... put a semicolon after do {} or eval {} when it looks like a > complete statement?" > > Well, in Perl 6, you don't, if the final curly is on a line by > itself. > > To me, this looks like it has answers to all these questions.
It would do, but 'A4' considerably predates that example I quoted from Damian. It was only on August 28th this year that he said these are fine without semicolons: perhaps $x<$y, 0.25 { print "Happened to be less than\n"} perhaps $x>$y, 0.50 { print "Happened to be greater than\n"} Those braces definitely aren't on their own lines. This is the message where he said it: http://groups.google.co.uk/groups?&hl=en&ie=UTF-8&oe=UTF-8&threadm=3D6D4E7D.6070201%40conway.org&rnum=1&prev=/groups%3Fq%3Dg:thl477944572d%26dq%3D%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D3D6D4E7D.6070201%2540conway.org He said something similar in the Perl 6 talk in London the following day (and quite possibly other Perl 6 talks elsewhere at other times). So the possibilities are: 1 Damian is wrong. 2 I've misunderstood what Damian said and wrote. 3 This bit of 'A4' has been superseded and the current thinking is what Damian said above. Option 1 strikes me as unlikely; Damian obviously has read 'A4'. Option 3 is what scares me and is the reason why I'm after clarification. Given that, Option 2 would be a relief. (An embarrassment, but still a relief.) Smylers