in reply to Value of a query is returning without any delimiter

change your print statement to

print $OUT "@row\n";

OR set the default "output field separator" explicitly.

You may overwrite it like so

$, = ','; print $OUT @row, "\n";

Replies are listed 'Best First'.
Re^2: Value of a query is returning without any delimiter
by parthodas (Acolyte) on Aug 31, 2015 at 08:15 UTC
    The solution worked. Thanks a lot.