(Of course you might be able to use ppm directly inside your script, but I don't know if you can integrate calls to it into a script like you can with CPAN.)
All ppm (as most of us know it) is a fancy wrapper for PPM.pm (alt.) much like the CPAN(PLUS) shell, so one just needs to use the module directly if you need to embed in, say, a CGI ...
use PPM; my $ppd = shift; my $dir = 'c:/inetpub/wwwroot/www.foo.com/'; PPM::InstallPackage( package => $ppd, root => $dir, );
Then it's just a matter of slapping use lib 'c:/inetpub/wwwroot/www.foo.com/site/lib'; to the top of all your scripts.
--k.
In reply to Re: Re: Installing modules to a remote system (of same platform)...possible? Yes, but...
by Kanji
in thread Installing modules to a remote system (of same platform)...possible? Yes, but...
by S_Shrum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |