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:
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
{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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Is an empty block not a block?
by eric256 (Parson) on Nov 18, 2005 at 23:00 UTC |
In Section
Seekers of Perl Wisdom