I'm reading chromatic's "What Is Perl 6?", and he mentions that in Perl 5 curly braces are overloaded to have six different functions.
I've got the obvious ones: code blocks, hash refs, hash elements/slices, dereferencing, and their various uses in regexen (do these count?) - what else is there?
In reply to Six uses for curlies? by glwtta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |