>>>>> "SHC" == Shawn H Corey <shawnhco...@gmail.com> writes:
SHC> On 10-11-21 12:49 PM, Uri Guttman wrote: a> my %hash = (); >> >> no need to initialize a lexical hash with (). SHC> Sorry but you should initialize all your variables. At one time SHC> mod_perl did not initialize the data space; it simply re-used it. So SHC> your variables started with whatever was in them in the previous SHC> run. Never assume that your variables will be initialized for you. this wasn't mod_perl. mod_perl isn't perl. it is an evil spawn of apache and perl. a good reason to avoid it is you code very differently in mod_perl and perl. most of your code under mod_perl can run as a server behind apache and then be pure perl. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/