in reply to parse array to replace specific spaces with pipes
join() to the rescue
while (@row = $sth->fetchrow_array) { print OUTFILE '|',join('|',@row),"|\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: parse array to replace specific spaces with pipes
by johngg (Canon) on Jul 10, 2009 at 09:36 UTC | |
by neurotoxx (Novice) on Jul 10, 2009 at 16:30 UTC |