Well, I'm not totally sure about this so don't get mad if I'm wrong. ;)

You say you have a hard time getting modules installed at the site your on, but do you have a write access to a local (user) directory? If so, you might be able to install the module (Text::CSV) into that local directory and then modify the @INC in your program via use lib.

I know for sure that there are one or two modules that require some other things to be installed in specific places or to have some C programs compiled but I don't think Text::CSV is one of them. You'll have to look at the documentation or try installing it to be sure.

I like to put the module in the same directory as the script, and then in the script's code add the lines:

use lib '.'; use Text::CSV;

Of course, you should note that for a module like Text::CSV, you'll have to create a subdirectory named Text and put the module file (named CSV.pm) in it (standard convention, of course) but the install should do that for you.

Anyway, I hope this helps!

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.


In reply to (bbfu) Can't install Text::CSV (was: Tie::RefHash) by bbfu
in thread Tie::RefHash by malaga

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.