my ($low,$high) = (0,$#$array); # computes the length of the array and gives it to $high