The benefits are @mail -v- @$mail and $mail[ 0 ] -v- $mail->[ 0 ], if the array contains just scalars, Where it really comes into it's own is if the array contains further nested structures.
local *mail = ... $mail[ 3 ]{ recipient } = $mail[ 2 ]{ sender }; ## is easier on the eyes and fingers than $mail->[ 3 ]{ recipient } = $mail->[ 2 ]{ sender };
In reply to Re^3: Reference Notation
by BrowserUk
in thread Reference Notation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |