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