in reply to Creating CSV file
reez:
Your problem description isn't very clear, but I don't see anything in the code that should be a problem. If you can provide a bit more context to your problem, and clarify what your problem is, we can give a bit better guidance.
If you can boil it down to a small program with the actual and intended output, it would be helpful. Something like:
my @list = qq(1 2 3 4); my $csv = Text::CSV->new({sep_char => ';'}); open (CSV, ">", "base.csv") or die $!; if ($csv->combine(@list)){ print CSV $csv->string "\n"; } else { print "combine () failed on argument: ", $csv->error_input, "\n"; }
The output I wanted to see is:
1 2 3 4
but the output I received is:
1;2;3;4
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Creating CSV file
by reez (Novice) on Jul 31, 2010 at 16:29 UTC | |
by GrandFather (Saint) on Jul 31, 2010 at 23:00 UTC | |
by Tux (Canon) on Aug 01, 2010 at 08:13 UTC | |
by GrandFather (Saint) on Aug 01, 2010 at 12:15 UTC | |
by Tux (Canon) on Aug 01, 2010 at 13:05 UTC | |
by graff (Chancellor) on Jul 31, 2010 at 22:56 UTC |