I did not forget that {} is also the anonymous hash constructor - see the subject of this bug report. What I suggest, if it is possible, is that where {} is currently parsed as a hash constructor but that gives a syntax error, perl should try instead to parse it as a block. This would not change the semantics of any existing valid program but it would remove the syntactic wart that an empty block cannot always appear where a nonempty one can. -- Ed Avis <eda@waniasset.com> ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________Thread Previous | Thread Next