http://qs321.pair.com?node_id=314567


in reply to DBD::CSV - how to install? (FTP only)

If you only have FTP access, I assume you can't write to the perl library directories, so you could upload other libraries to $ENV{HOME}/perl/libs and put
use lib "$ENV{HOME}/perl/libs";
at the top of your programs.

Note: Any libraries with XS code may have problems, since they have to be compiled locally, then uploaded. This should work for all perl-only modules.

Update: Changed ' to " because variable is used.

- Tom

Replies are listed 'Best First'.
Re: Re: DBD::CSV - how to install? (FTP only)
by lwicks (Friar) on Dec 13, 2003 at 23:08 UTC
    Exactly right. I only have FTP access to my user directory on a webserver. I am writing a web app and rather than commit the sin of writing my own database handling routines, I wanted to use DBI and specifically DBD::CSV as I wanted to use text files on the same server. BUt neither of the servers I have tested on have DBD::CSV installed (Both have DBI) So I am wondering if I can like you suggest copy DBD::CSV into my user directory and then have DBD::CSV available for this application. Anyone actually done this before?
Re: Re: DBD::CSV - how to install? (FTP only)
by lwicks (Friar) on Dec 13, 2003 at 23:11 UTC
    Exactly right. I only have FTP access to my user directory on a webserver.

    I am writing a web app and rather than commit the sin of writing my own database handling routines, I wanted to use DBI and specifically DBD::CSV as I wanted to use text files on the same server. BUt neither of the servers I have tested on have DBD::CSV installed (Both have DBI)

    So I am wondering if I can like you suggest copy DBD::CSV into my user directory and then have DBD::CSV available for this application.

    Anyone actually done this before?