in reply to Re^2: Commas in quoted CSV records
in thread Commas in quoted CSV records

See A Guide to Installing Modules and A guide to installing modules for Win32, and Yes, even you can use CPAN. As you're under Windows, the most likely process available to you is to use the ppm utility that comes with ActiveState Perl to install Text::CSV_XS. If you have Strawberry Perl, ppm is not available but the "normal" installation process through cpan Text::CSV_XS should Just Work.

Replies are listed 'Best First'.
Re^4: Commas in quoted CSV records
by Tux (Canon) on Mar 25, 2009 at 08:42 UTC

    The OP quest was not how to install the module, he already seems to have it available, but to find the manual pages, see his last paragraph:

    I have the Text-CSV_XS package but can't figure out how to use it.

    As I have no idea where the installed manual pages will turn up under windows, someone with more clues might drop in here, as the manual pages for Text::CSV_XS are stuffed with examples.


    Enjoy, Have FUN! H.Merijn
      Just run perldoc Text::CSV from the command line and the man-page is shown.

      There is also a HTML-ized version if you have Activestate Perl: on my system it is at C:/Data/Perl/html/index.html, but YMMV.

      The perldoc command should work anywhere.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        Thanks for your guidance.

        I'd been looking for a seperate documentation file for the Package and didn't realize the package docs were integrated into the Perl installation's documentation. I'm using it now to study ikegami's suggested Text::CSV_XS code snippet.

        I'll want to expand on it to leave the quoted fields, quoted, and to expand the filter to incorporate additional criteria.

        Thanks again for chiming in with a positive suggestion.

        Many thanks!

        Who knew?
        perldoc Text::CSV_XS from the command line turned on some lights around here.
        I also eventually found that the Text::CSV_XS package documentation is "added to" the basic perl documentation. I had been looking for some distinct (doc|html|txt) file for Text::CSV_XS.
        Thanks again for your willingness to share and positive vibe!
        ----------

      • generator