On Wed, 13 Jul 2011 11:15:55 -0700 Leo Susanto <leosusa...@gmail.com> wrote:
> On Wed, Jul 13, 2011 at 11:06 AM, Shlomi Fish <shlo...@shlomifish.org> wrote: > > Hi Tiago, > > > > > > You can write the data directly to the four filehandles as you go over them. > > You can have filehandles as the values of arrays or hashes. > > > > Just make sure you are using a CSV parsing and output module: > > > > http://beta.metacpan.org/release/Text-CSV > > > > I usually use Text::CSV_XS, stemming from the ancient belief that it > was faster than Text::CSV. > > has anyone bench-marked Text::CSV vs Text::CSV_XS? Reading from: http://beta.metacpan.org/module/Text::CSV <QUOTE> Text::CSV provides facilities for the composition and decomposition of comma-separated values using Text::CSV_XS or its pure Perl version. </QUOTE> So if it detects you have Text::CSV_XS it will use that. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ The Case for File Swapping - http://shlom.in/file-swap Chuck Norris is the ghost author of the entire Debian GNU/Linux distribution. And he wrote it in 24 hours, while taking snack breaks. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/