kr123 has asked for the wisdom of the Perl Monks concerning the following question:
I've got a large script whose memory usage slowly grows without bounds, so I must have some variable that is growing and it not leaving scope. However, I don't know which of many it could be.
Does anyone know how to dump the contents of ALL variables?
The tools I've seen for dumping variable contents all require specific variables to be supplied. If I could generate a list of all defined variables then this technique would be fruitful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dump of all defined variables for debugging
by CountOrlok (Friar) on Feb 21, 2006 at 18:37 UTC | |
by kr123 (Novice) on Feb 21, 2006 at 19:43 UTC | |
by blahblahblah (Priest) on Feb 22, 2006 at 04:41 UTC |