PERL code - TechRepublic
General discussion
August 25, 2020 at 05:14 AM
learner0930

PERL code

by learner0930 . Updated 5 years, 9 months ago

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.

All Comments