in reply to How to access an Array Element

We need to know what your array looks like. Try something like:

use strict; use warnings; use Data::Dumper; my @array; # do whatever to populate the array print Dumper \@array;
And show us a (short) sample of the output.

Also, to help you on your way, have at look at these tutorials: