Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by tcf22 (Priest)
on Dec 13, 2003 at 22:33 UTC ( #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


Comment on Re: DBD::CSV - how to install? (FTP only)
Select or Download Code
Re: Re: DBD::CSV - how to install? (FTP only)
by lwicks (Pilgrim) 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 (Pilgrim) 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
Node Status?
node history
Node Type: note [id://314567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-07-05 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls