in reply to Re^2: What is the difference between |= and ||=?
in thread What is the difference between |= and ||=?
Assuming the empty string isn't a valid id, that will convert undef to zero.
Whether it makes sense or not can only be derived from context, but it seems to me that you might be silencing the symptom, not fixing the problem. Why is id undef in the first place? Why would it makes sense to set it to zero when it is?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What is the difference between |= and ||=?
by Anonymous Monk on Apr 08, 2009 at 04:51 UTC | |
by ikegami (Patriarch) on Apr 08, 2009 at 06:11 UTC | |
by Anonymous Monk on Apr 09, 2009 at 05:57 UTC | |
by ikegami (Patriarch) on Apr 09, 2009 at 06:43 UTC |