Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

HI, I'm working on a program to convert CSV data or a comma delimited text file to Excel. The program i am using requires the Text::CSV_XS module to parse the CSV data. just wondering if any of you got this error before "Can't locate loadable object for module Text::CSV_XS in @INC.......... although I have loaded the CSV_XS package in the correct directory. I noticed on the 5th line of the package it says "require 5.004;" I am wondering if this is where the problem lies. The server is running perl 5.6.1 at the moment. Any help grately appreciated. Ron

Replies are listed 'Best First'.
Re: Issue with module Text::CSV_XS
by valdez (Monsignor) on Oct 17, 2002 at 15:30 UTC

    Have you loaded the module or installed it? This module can't be just copied to the right directory, it needs to compile some C code...

    The "require 5.004" means that perl version should be at least 5.004, so your version is fine.

    Ciao, Valerio

      Thanks, its working now! I didn't actually install it
Re: Issue with module Text::CSV_XS
by demerphq (Chancellor) on Oct 17, 2002 at 16:25 UTC
    You could just use tillys Text::xSV instead. Its pure perl so it'll be a touch slower, but its more powerful, and should run fine under your version.

    --- demerphq
    my friends call me, usually because I'm late....