in reply to Re: how to determine whether a module is installed or not?
in thread how to determine whether a module is installed or not?
$prompt>ppm profile save [my_config_file] (with no file, ouput goes to stdout)
$prompt>ppm profile restore my_config_file
The save option makes an XML file with lines like this:
<SOFTPKG NAME="Text-LevenshteinXS" VERSION="0.03"/>
This file also contains the ppm repositories that I have configured - not everything is at the main ActiveState repository. So if I want to "clone" my installation on another computer or for some reason do a complete re-installation on my own computer, I use the "save" command to a file. Then uninstall Perl, wipe out my Perl directory, re-install ActiveState Perl and then run the "restore" option to get all the packages re-installed. I just walked a friend through this last week and he said that it worked fine.
I think the OP wanted to know what is going on at run time on some other "unknown system", but if we are talking about utilities, I think this is a good one for AS users and I have recent experience that it does indeed "work as advertised".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to determine whether a module is installed or not?
by planetscape (Chancellor) on Dec 30, 2010 at 17:21 UTC |