I have a huge, gigantic, 5,000-line Perl/Tk program which edits even more monstrous data files. When I call it up and run the first file it goes okay. If I close Perl/Tk and open again, no matter now many times, no problem. But if I leave it open and edit successive files, the memory dips ever lower. So somewhere I'm holding onto data, I'd guess. I'd like to know where.
Are there any tools, perhaps in the debugger, that will show me how many vars and arrays I have and what size each is so I'll know where my problem lay?