The stupid question is the question not asked | |
PerlMonks |
Re: To initialise or not to initialise?by qq (Hermit) |
on Jun 24, 2004 at 21:12 UTC ( [id://369488]=note: print w/replies, xml ) | Need Help?? |
I with the camp that says don't initialize. That said, however, I'm constantly annoyed by the 'use of uninitialized ...' warning, usually when I'm interpolating a variable that I'm well aware might be undefined. It has to be the warning that I most often don't care about, and my code often grows constructs just to avoid it, which always looks ugly.
In Section
Seekers of Perl Wisdom
|
|