perl memory management - does @array = () free the memory?

M

Matt Oefinger

I have a sizable array that I want to clear (i.e. free the memory for
other use).
Will @array = () alert a garbage collector in Perl to mark the memory
as unallocated or do I need to perform this tast manually?

Thanks
Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top