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
In reply to Re: Syntax question with
by merlyn
in thread Syntax question with
by rlk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |