Q3 Support for a reference type means support for dynamic memory allocation. Write a Perl subroutine, dynamicArrayExample, that:
Creates and destroys an dynamic array of 100000 integers, all initialized to 42 500 times.
C++ used "new" and "delete" to allocate/deallocate dynamic memory. How does Perl deallocate dynamic memory?
It's one thing to TALK about how Perl handles dynamic memory... it's another thing entirely to SEE how Perl handles dynamic memory. What happens to the size of your Perl program as you make repeated calls to dynamicArray? To answer this question, you may want to use the Windows XP Task Manager to observe the memory consumed by your perl program.