This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Simplify C<do BLOCK> Syntax =head1 VERSION Maintainer: Mark Senn <[EMAIL PROTECTED]> Date: 27 Aug 2000 Mailing List: [EMAIL PROTECTED] Version: 1 Number: 167 =head1 ABSTRACT Simpify syntax of C<do BLOCK> by deleting C<do> before the block and C<;> after it. =head1 DESCRIPTION One of the most common mistakes I make is forgetting a C<;> after C<do BLOCK>, probably because I'm thinking ``if'' and an if doesn't require a C<:> after it's closing C<}>. I'll type, for example, $cond and do { # statements } instead of $cond and do { # statements }; Can the syntax be simplified to drop the C<;>, and while you're at it, how about the C<do> also, so one can type $cond and { # statements } =head1 IMPLEMENTATION Unknown. =head1 REFERENCES Camel III, pages 123--125