Perl Create Hash From Array To Arraylist