# assign hash value pairs and insert '=' between them to create phonebook entry my %hash = map { split( /=/, $_, $x + 1 ) } @v;