in reply to Uploading Text::CSV

Text::CSV is using compiled code (XS) as well as the .pm module...therefore straight copy of the .pm file will not fully install the module. you would need to look into the module and see which compiled code it uses and copy that across also, into the right directories. The copying of compiled code will only work if the source and target machines are exactly same architecture..otherwise you'd need to get the source for the module and re-compile on target.

Replies are listed 'Best First'.
Re: Re: Uploading Text::CSV
by Anonymous Monk on Jun 26, 2003 at 04:49 UTC

    Thanks, so as a follow-up question: are there any perl-only modules that do roughly the same thing as Text::CSV?

      I modified Text::CSV and it appears to work ok.. just comment out the Exporter/AutoLoader stuff.. I don't believe it actually uses any of it..

      #BEGIN { # use Exporter (); # use AutoLoader qw(AUTOLOAD); use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); $VERSION = '0.01'; # @ISA = qw(Exporter AutoLoader); # @EXPORT = qw(); # @EXPORT_OK = qw(); # %EXPORT_TAGS = qw(); #}

      Update: ok, so it does use it, but it doesn't need it.. see here for a slightly more informed solution/explanation..

      cheers,

      J

        Thanks, I did as BrowserUk suggested in the post you link to, it works great.

        Thanks for the help :)