Hi - it must be an undef in your array, your join should work as posted. You might try something like (untested):
for (@array) { if ($_) { push @clean_array, $_ } } ....now join on @clean_array... Aloha => Beau. -----Original Message----- From: Vincent Lee [mailto:vjlee_us@;yahoo.com] Sent: Thursday, October 17, 2002 1:48 AM To: [EMAIL PROTECTED] Subject: Join problem Hello All, I've got a problem with the JOIN function I've got a list of columns that gets returned from the database. I push the column values into an array and then join them with a comma. The problem is that JOIN puts a comma in the first value. How do I get rid of the comma in the first value? Is the database returning a null field in the first columns, is that why it's returning a comma? join (",",@columns); ===== Regards, Vincent __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]