in reply to Re: pushing file counts for adding
in thread pushing file counts for adding

Sorry, totally missed the part about pushing them to the array. In my test code you would just add push @somearray, $directory_file_count; or just use the $global_file_count as your total.