in reply to Re^3: complaint: always testing defined()
in thread complaint: always testing defined()
OP is checking for defined-ness solely to avoid generation of the warningCan I get the name of your crystal ball supplier?
I would guess that the warning made the OP stop and think what branch to take in the undef case, and that the OP's code has a good chance of reflecting what was actually wanted.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: complaint: always testing defined()
by parv (Parson) on Nov 04, 2007 at 13:04 UTC | |
by ysth (Canon) on Nov 05, 2007 at 03:36 UTC | |
by parv (Parson) on Nov 05, 2007 at 09:03 UTC |