in reply to Re^3: Multi-dimensional constants (updated)
in thread Multi-dimensional constants
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.
|
|---|