my @list; while (@art) { my $record = { "art" => shift(@art), "produce" => shift(@produce), "price" => shift(@prices), "descriptions" => shift(@descriptions), }; push(@list, $record); ) print("We have ", scalar(@list), " models for sale.\n"); print("\n"); print("They are:\n"); foreach (@list) { print("Model: ", $_->{"art"}, "\n"); print("Produced by: ", $_->{"produce"}, "\n"); print("Price: $", $_->{"price"}, "\n"); print("Desc: ", $_->{"descriptions"}, "\n"); print("\n"); }