Confusingly, $x[$y]->[$z] is valid syntax in at least Perl, and is actually equivalent to $x[$y][$z]
$x[$y]->[$z]
$x[$y][$z]