in reply to Arrays and hashes only with references
$value = $$arrayref[2]; [download]
$value = $arrayref->[2]; [download]