my @users; foreach (@lines) { //i and push @users, $1; }