On 11-04-16 08:30 PM, Uri Guttman wrote:
"tx" == tianjun xu<tianj...@yahoo.com> writes:
tx> my %hash=();
no need to initialize that to ().
There is always the need. Not that long ago, mod_perl use to use the
same memory as the previous run but it did not zero the memory. You got
what every was in there, including things like the session ID.
Program defensively: always initialize your variables.
--
Just my 0.00000002 million dollars worth,
Shawn
Confusion is the first step of understanding.
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/