The brackets associated with the & sigil are curlies not parentheses.Ah, right, that works, and here's the explanation from perlref:
Anywhere you'd put an identifier (or chain of identifiers) as part of a variable or subroutine name, you can replace the identifier with a BLOCK returning a reference of the correct type.
In reply to Re^4: Multi-dimensional constants (updated)
by Ionic
in thread Multi-dimensional constants
by Ionic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |