in reply to Re: Is { } an empty block or a bug in perl?
in thread Is { } an empty block or a bug in perl?
My main objection is that it's silly to have a discrepancy between the current behaviour:
and the proposed:{} # hashref
So it's best to keep the current behaviour, ie. syntax error. I must say the current syntax error is actually pretty accurate too, so it won't be too hard to find the problem either.{}{} # two blocks...
|
|---|