http://www.perlmonks.org?node_id=509980


in reply to Re: Is an empty block not a block?
in thread Is an empty block not a block?

But if so, why is a semicolon necessary. It isn't if the hashref isn't empty as in:
{blah, "blah"} print "This is fine\n";

I don't see why being empty changes anything essential.
Perhaps in the empty case, perl doesn't know what it is, and that's the problem...
(I guess {blah, "blah"} is considered to be a hashref; I don't know what else it would be...)
chas