Kevin G. Erdmann escribió:
I have been attempting to add perl modules during an installation. I
have
written .bat files to load the .ppd files using ActiveState ppm. Everything
works fine except when the .bat file is loaded using the todo.pl script.
The only error that I
On Fri, Apr 18, 2008 at 09:55:12AM -0400, Kevin G. Erdmann enlightened us:
Strawberry perl looks interesting and I will investigate that option.
Plus
since it is open source that is even better.
However, looking at it I am afraid that the ppm for Strawberry perl might
have
the
I have tried putting the path in the todo.pl statement such as:
todo.pl c:\perl\bin\ppm.bat install absolute path to ppd file
This produces the same results.
However, I did try executing ppm in the shell that was created by todo.pl and
it works but only when c:\perl\bin is the current
Here is what I have tagged unto the end of my perl.bat script. I suppose
I could strip this out and put it in a seperate .bat file.
---snip
:: install Win32::GUI
:: set temporary path to include perl\bin
SET PATH=%SystemDrive%\Perl\bin;%PATH%
start %SystemDrive%\Perl\bin\ppm install
Alright, I think I figured it out. In the script that is called by todo.pl I
used the following lines.
cd /d C:\Perl\bin
ppm location and name of package.ppd
It seems that in order to install the packages via ppm for local files one has
to have the working directory be in