|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^3: uninitialized value in join or stringby EvanCarroll (Chaplain) |
| on Oct 31, 2005 at 05:08 UTC ( [id://504213]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You could always map over the array and set the undef values to '', I would personally suggest keeping the database pristine. I would use nulls if it increases data clarity for a more ugly solution in the perl base. '' would violate a unique constraint where as multiple nulls woulden't for instance. Nulls are also open to the database implimentation, and can be optimized away very easily, an empty string however is kept as just as that, rather than a small pointer to null. Update: or a simple join ",", grep defined, @row; Evan Carroll www.EvanCarroll.com
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||