The Perl equivalent for this is C<$#myarray>. Set the highest index in the array to the given number, equivalent to Perl's C<$#array = $fill;>. RJ