Create a complex data structure as follows:
Create a hash called %pizza_prices which contains prices for small, medium and large pizzas.
Create a hash called %pasta_prices which contains prices for small, medium and large serves of pasta.
Create a hash called %milkshake_prices which contains prices for small, medium and large milkshakes.
Create a hash containing references to the above hashes, so that given a type of food and a size you can find the price of it.
Convert the above hash to use anonymous data structures instead of the original three pizza, pasta and milkshake hashes
Add a new element to your hash which contains the prices of salads
(Answer: exercises/answers/food.pl)
Create a subroutine which can be passed a scalar and a hash reference. Check whether there is an element in the hash which has the scalar as its key. Hint: use exists for this. (Answer: exercises/answers/exists.pl)