in reply to uninitialized value in join or string
Observe:
Evan Carroll
www.EvanCarroll.com
One of the values in your row, (columns returned from sql row) is NULL in sql, meaning undef in perl. Add to your sql statement, where not null or if your using Oracle employ nvl(), if postgres see coalesce().perl -we'print join ",", @{[undef]}' Use of uninitialized value in join or string at -e line 1.
Evan Carroll
www.EvanCarroll.com
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: uninitialized value in join or string
by Win (Novice) on Oct 31, 2005 at 09:59 UTC | |
by EvanCarroll (Chaplain) on Oct 31, 2005 at 10:08 UTC | |
by Win (Novice) on Oct 31, 2005 at 14:40 UTC | |
by Roy Johnson (Monsignor) on Oct 31, 2005 at 16:02 UTC | |
by Win (Novice) on Oct 31, 2005 at 17:05 UTC | |
|
In Section
Seekers of Perl Wisdom