my $first = @{$ref_to_array}[0]; # prefix #### my $first = ${$ref_to_array}[0]; # prefix #### # the easy way $LoL[0]->[0]->[1] = 'It's a bird, it's a plane, it's...'; # the shortcut $LoL[0]->[0][2] = 'Superman!'; #### # the full shortcut $LoL[0][0][2] = 'Superman!';