On Tue, Mar 25, 2014 at 02:42:25PM +0000, Dave Mitchell wrote: > On Tue, Mar 25, 2014 at 04:23:54AM -0700, Ed Avis wrote: > > Please allow an empty BLOCK to occur before a subroutine > > definition, just as an empty BLOCK can occur elsewhere in a program. > > Can you give an example of such an empty block not being a syntax > error? { } __END__ Although one could argue that this isn't a block (because Perl doesn't parse it as a block, but as a hashref). if (1) { } is fine too. AbigailThread Previous | Thread Next