use strict; use warnings; #### my @array ... my $i ... my $element ... #### $i < 10 $array[$i]