P is for Practical | |
PerlMonks |
Re: out of memory problemby betterworld (Curate) |
on Sep 13, 2008 at 12:55 UTC ( [id://711100]=note: print w/replies, xml ) | Need Help?? |
Note that because you don't use "my" here, all these variables will stay in memory even after the loop has finished. If the last line is very long, this might be a memory problem. Anyway, this code does not look like it is strict. You should fix this, and maybe then you discover more problems in your code.
In Section
Seekers of Perl Wisdom
|
|