in reply to on to better coding (no uninitialized values)
Probably the most important line in your script. That will force you to declare your variables with my (or our or use vars).use strict;
Another option is to, when you declare your variables, to initialize them. Something along the lines of:
If you do that, that will definitely fix your unitialized problems.my $foo = 0;
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: on to better coding (no uninitialized values)
by melguin (Pilgrim) on Aug 23, 2001 at 21:11 UTC |