in reply to Re^5: What is the difference between |= and ||=?
in thread What is the difference between |= and ||=?

The "id" was an example. But there are cases (especially when JOINS are involved) where some columns have NULL values or where rows are not yet inserted. In those instances, the particular value of the hash reference is undef.

  • Comment on Re^6: What is the difference between |= and ||=?

Replies are listed 'Best First'.
Re^7: What is the difference between |= and ||=?
by ikegami (Patriarch) on Apr 09, 2009 at 06:43 UTC

    The "id" was an example.

    Which brings us back to my answer: It all depends on the situation. In the situation you gave, it doesn't seem right.