in reply to Accesing the array elements via indexes which are inserted into it by push

it's $list[5], because $ signals a scalar (i.e. singular) value you operate on. plz see perldata for details.

please stop this try and error approach to Perl and try getting a good book/tutorial! =)

Cheers Rolf