in reply to Push array to hash

Assuming your real $line =~ m/somemoreregex/ has some captures in it? Also use strict; use warnings; and see what you get.