the list is never assigned to a variable
This is why it cannot "stick around." There is no place for this list to live. Lists are, by definition, temporary things. Unless you put the list into an array, and absent some under-hood optimization I am not aware of, it will disappear as soon as it is done with.
On a side note, I think you might be engaging in what is commonly known as premature optimization, or even nano-optimization. I have not run the benchmarks, but I would be shocked to find the creation of the list has any impact on the actual performance of an application. I can understand the desire to know how perl works a bit better, but trying to use this type of thing as a real optimization would almost surely be fruitless.
In reply to Re: Resource allocation question
by revdiablo
in thread Resource allocation question
by shemp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |