Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by tcf22 (Priest)
on Dec 13, 2003 at 22:33 UTC ( [id://314567]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://314567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2024-03-28 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found