# use push on the off chance you've got multiple files w/ # the same sub date push @{$dates{$submitted_date}}, $FILE;