in reply to Syntax question with
I've learned to force it to guess right when needed by either putting a plus in front of the open curly (for the anonymous hash flavor) or a semicolon immediately after the open curly (for a block). Pretty rare to need that, but when I do, it's handy that I recall those tricks. I first learned of that from perlref.
-- Randal L. Schwartz, Perl hacker
|
|---|