Do you know where your variables are? | |
PerlMonks |
Re^3: 5.6->5.8 Analysisby PotPieMan (Hermit) |
on Jul 13, 2003 at 14:58 UTC ( [id://273786]=note: print w/replies, xml ) | Need Help?? |
I seriously doubt that this would cause a memory leak, but that code sample suggests that $id and $data aren't needed outside the while loop. I always try to put variables in the innermost scope that they are needed.
--PotPieMan
In Section
Seekers of Perl Wisdom
|
|