in reply to The @$ array construct
2. 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.
So to dereference $OrigArray, you would use @{$OrigArray}; however, perl allows you to omit the curlies for simple cases so most people write that as @$OrigArray.
-derby
|
|---|