in reply to Re: Re: Installing modules to a remote system (of same platform)...possible? Yes, but...
in thread Installing modules to a remote system (of same platform)...possible? Yes, but...
Okay, I'm game.
I created a script called 'install_mods.pl' and placed in it the following code:
use PPM; print "Content-type: text/html\n\n"; BEGIN { use CGI::Carp qw(carpout); carpout(\*LOGGY) if open(LOGGY,'>>'.__FILE__.'.err.log'); } my $ppd = 'd:/html/users/shrumnet/html/cgi-bin/modules/DBI.ppd'; my $dir = 'd:/html/users/shrumnet/html/cgi-bin/library'; print "Installing [<b>$ppd</b>] to [<b>$dir</b>]"; PPM::InstallPackage( package => $ppd, root => $dir, );
However, this does nothing (no files are written in the /library folder. Additionally, the error log file gets created and in it resides nothing (which is odd as the error log shouldn't get created unless there was an error to write).
Any suggestions?
======================
Sean Shrum
http://www.shrum.net
|
|---|