Programming Course for Bioinformatics and Internet

Hashes


  1. Definition and syntax
  2. Examples
  3. Assignment into a hash variable
  4. Accessing individual hash elements
  5. Adding and deleting elements to/from a hash.
    Checking whether a hash is empty.
  6. The keys function
  7. The values function
  8. Iterating over all elements of a hash using the each function
  9. Iterating over all hash elements: When should I use the keys and when the each function?

Back to the Course Homepage.