PERL # 29 – HASH Introduction & Basic Key Sorting



PERL # 29 – HASH Introduction & Basic Key Sorting

PERL # 29 - HASH Introduction & Basic Key Sorting

This video will help you understand the difference between a hash and an array in Strawberry Perl. First we create a hash and add a value to it; we also cover a few different ways of rendering “hash keys”, and “hash values”. Again, the hash is different than the array but I like to use the term “key/value” to easily distinguish the different and placement of data as it is defined and rendered. Towards the end of the video we can also see how the hash keys can be sorted with a “for loop” while learning about the use of the hash key identifier in the statement of the for loop structure.

Comments are closed.