http://www.perlmonks.org?node_id=369316


in reply to To initialise or not to initialise?

. . . after reading about variables being set to old values under mod_perl . . .

Do you even know why this happens? Do you know if this happens outside mod_perl? Has this been an issue for you in programs you've written?

In other words, if it ain't a problem, don't fix it!

Oh - and I don't have global variables. Just having them is a sign of logical weakness, initialized or not.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested