Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: Commas in quoted CSV records

by generator (Pilgrim)
on Mar 25, 2009 at 22:24 UTC ( [id://753275]=note: print w/replies, xml ) Need Help??


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

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
  • Replies are listed 'Best First'.
    Re^7: Commas in quoted CSV records
    by Nkuvu (Priest) on Mar 25, 2009 at 22:43 UTC

      You'll find that many modules have documentation inline with the code. For example, Text::CSV code is in "C:\Perl\site\lib\Text\CSV.pm" (base path depending on where you installed Perl, of course, and file path may be slightly different if you didn't use ppm to install the module). But that file also contains all of the documentation you see when you invoke perldoc Text::CSV. I have Text::CSV 1.10 installed, and the documentation is all at the end of the .pm file (beginning around line 220 or so).

      Some modules also have HTML-ified documentation. Text::CSV is one of those. This file is at "C:\Perl\html\site\lib\Text\CSV.html". I'm not positive, but I think that's due to installation through later versions of ppm. I have many more modules installed (in C:\Perl\site\lib) but very few other html files.

      But I've never found a module that, once installed, didn't have any documentation via perldoc Module::Name. So I tend to use that a lot more than looking for any HTML files.

      Added: Not sure why this is being downvoted. If you feel the need to downvote and have a chance to reply or /msg, I'd appreciate hearing your reasoning.

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://753275]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others romping around the Monastery: (3)
    As of 2024-03-29 07:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found