in reply to Re: Uploading Perl modules without shell access
in thread Uploading Perl modules without shell access

Hi, I tried this earlier and it worked fine for HTML::Template but not for Text::CSV. Here's the import code:

use lib 'modules'; use HTML::Template; use Text::CSV;

Here's the error:

Can't locate modules/auto/Text/CSV/autosplit.ix in @INC (@INC contains: modules .. (more perl directories)

I don't understand the /auto subdirectory, or why it's unable to find Text::CSV (it is located in modules/Text/CSV). Thanks for your help :)

Replies are listed 'Best First'.
Re: Uploading Perl modules without shell access
by Abigail-II (Bishop) on Jun 26, 2003 at 07:33 UTC
    From the error message, it seems like Text::CSV is more than just the file Text/CSV.pm. Did you install all parts?

    Abigail

      There is only one part to Text:CSV. The problem is it use of Autoload which is easily worked around.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller