in reply to Count of element in array - Help

Thanks for the replies. After walking away i thought about using DataDumper to view the contents of the array and indeed I verified, as y'all have done that the $MMANS was manipulating the array size. Thanks for the responses
$VAR17 = undef; $VAR18 = undef; $VAR19 = undef; $VAR20 = undef; $VAR21 = undef; $VAR22 = undef; $VAR23 = undef; $VAR24 = undef; $VAR25 = undef; $VAR26 = undef; $VAR27 = undef; $VAR28 = undef; $VAR29 = undef; $VAR30 = undef; $VAR31 = [];