On Sun, Mar 04, 2007 at 08:55:28PM -0800, Jonathan Lang wrote: : The text of S02, S03, and S04 still contain references to the : now-defunct "statement_modifier" grammatical category.
Yes, there are several similar issues that need to be cleared up as soon as http://svn.pugscode.org/pugs/src/perl6/Perl-6.0.0-STD.pm settles down. : Also, what's the reasoning behind specifically disallowing _all_ : statement modifiers to "do" blocks (as opposed to forbidding just : looping statement modifiers)? Is this legacy from when the : distinction wasn't being made, or is there still a valid reason for : forbidding conditional modifiers? In addition to not confusing people with differing Perl 5 semantics, it also discourages people from violating the endweight principle. If the front is heavy enough to need a block, why not go ahead and use a regular if? : Finally: when used as a statement modifier, is "given" considered to : be conditional or looping? (Gut instinct: conditional.) Why does it have to be one or the other? It's just a topicalizer. Larry