in reply to Re^2: Explanation of Perl one-liner required
in thread Explanation of Perl one-liner required

You're missing the context. He doesn't have a modern Text::CSV, and it's easier instructing this particular monk to install Text::CSV_XS (simple ppm command) than to have him upgrade Text::CSV (which would require installation of make tools, an exercise requiring at least 5 posts to explain to this monk).
  • Comment on Re^3: Explanation of Perl one-liner required

Replies are listed 'Best First'.
Re^4: Explanation of Perl one-liner required
by CountZero (Bishop) on Sep 28, 2009 at 18:46 UTC
    Text::CSV (v.1.13) is available on the Activestate PPM site for Perl 5.8 and 5.10, so it is easy to install as Text::CSV_XS

    Update: I see, Win still must have a Perl 5.6 for which indeed there is no modern Text::CSV available; but then again for Perl 5.6 there is no Text::CSV_XS available AT ALL on the ActiveState PPM it seems. So the substitution trick won't work I'm afraid.

    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

        Well some people seem to have a natural immunity to being helped.

        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

      Regarding your update, Text-CSV_XS is cleary listed. Twice even. Some of his repos have it.