in reply to •Re: DBI ?...moving module files manually...no shell or telnet access
in thread DBI ?...moving module files manually...no shell or telnet access

You'll either have to get the admin to install it, or you'll need some sort of shell access. If neither of those are available, you're out of luck.

Not sure if your definition of 'shell access' extends beyond an interactive session with telnet or ssh, but in many cases, all you really need is the ability to execute arbitrary scripts on the target machine ... something you probably already have in the form of CGI!

#!/bin/sh echo "Content-Type: text/plain" echo "" ( gzip -cd Module-2.1.tar.gz | tar xvf - cd Module-2.1 perl Makefile.PL LIB=~/lib make && make test && make install ) 2>&1

Sure it can be a pain, but it works.

    --k.


  • Comment on Re: Re: DBI ?...moving module files manually...no shell or telnet access
  • Download Code

Replies are listed 'Best First'.
Re: Re: Re: DBI ?...moving module files manually...no shell or telnet access
by S_Shrum (Pilgrim) on Jun 06, 2002 at 23:20 UTC

    Let's see if I understand this...

    You're saying that I can write an install script that would take the tar.gz file and make (build) it on the host machine and install itself to a folder of my chosing? I'm assuming that I just d/l and copy the tar.gz into my cgi-folder so that the script can access it?

    This would be uber-kewl...if that is what you mean (and if I have access to do it). Can this be done with all modules?

    Otherwise, please slap me into place and lead me down the path of Perl module installation enlightenment.

    Much-o grass-y-ish

    ======================
    Sean Shrum
    http://www.shrum.net