in reply to Re: Debugging "Use of uninitialized value" warnings.
in thread Debugging "Use of uninitialized value" warnings.
Agreed. I generally try to code defensively, but in the context of my original question, I am trying to make the defensive code implicit (Perl automatically tells me when and where I used an uninitialized variable) rather than explicit (adding code to check if a variable is unitialized then dying/warning if it is).
Both have the same result, but I think the former results in cleaner code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Debugging "Use of uninitialized value" warnings.
by gloryhack (Deacon) on Apr 04, 2007 at 04:54 UTC | |
by TOD (Friar) on Apr 04, 2007 at 05:09 UTC | |
by ikegami (Patriarch) on Apr 04, 2007 at 16:14 UTC | |
by gloryhack (Deacon) on Apr 04, 2007 at 22:30 UTC | |
by ikegami (Patriarch) on Apr 05, 2007 at 01:21 UTC | |
by gloryhack (Deacon) on Apr 05, 2007 at 03:40 UTC |