![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Logic Help - Output to csvby Tux (Canon) |
on Jun 08, 2020 at 06:53 UTC ( #11117800=note: print w/replies, xml ) | Need Help?? |
Maybe I am just nitpicking, but I sincerely hope you do not want the spaces after the separator (", ") in the header line. If you do, why not after the first separator? The required output as you show is extremely hard to generate and results in incorrect CSV data. For all other advice, read haukex' answers. For more speed, use Text::CSV_XS instead of Text::CSV. Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|