Perl and PHP both support hash arrays or associative arrays. What are they? Give one practical example of their use. How would you simulate an associative array in your favorite language like C/C++?