ISAI student has asked for the
wisdom of the Perl Monks concerning the following question:
I have a general question, I will pose the scenario, and then the question:
If I create an array X, I take up memory. I am to erase it (by setting it's $# to -1), and then I will create a new array, named Y, which is slightly smaller than X. Now the question: Will Perl use the memory freed from array X in order to store array Y, or allocate s different portion of memory for array Y?.
basically what I am asking if there is any reason, from memory usage point of view, to use $#=-1?