in reply to Subroutine Memory Leak

Although I won't pretend to be an expert on the internals of Perl, I do know that in general it does a pretty good job of handling memory allocation - and it's something that you usually don't have to worry about.

And that's probably the most sensible answer that you're going to get for now, unless you take the time to post some code that demonstrates your problem.

Cheers,
Darren