We don't bite newbies here... much | |
PerlMonks |
Re^4: sub calls and memory useby Anonymous Monk |
on Nov 16, 2019 at 14:43 UTC ( [id://11108786]=note: print w/replies, xml ) | Need Help?? |
You pass arguments in @_, as always.
So I was just using the wrong global variable! I can see now that pushing my arg into @_ before the &sub call prevents memory growth. Thank you Corion.
In Section
Seekers of Perl Wisdom
|
|