General discussion
-
Topic
-
PERL code
i have to create two hashes say vegetable and fruit with key names as the product and values can be any (for vegetable:keys are carrot ,potato and for fruits keys are apple and mango. i have a particular product say apple .i should check particular product (i.e)apple belongs to which hash and print the respective hash in PERL.