in reply to how to determine whether a module is installed or not?

See also (in no particular order):

HTH,

planetscape
  • Comment on Re: how to determine whether a module is installed or not?

Replies are listed 'Best First'.
Re^2: how to determine whether a module is installed or not?
by Marshall (Canon) on Dec 29, 2010 at 21:41 UTC
    I really liked your list!
    This is ActiveState specific for their ppm utility, but for those who have ActiveState, it is handy:

    $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".

      I think the OP wanted to know what is going on at run time on some other "unknown system"

      I think you are right, but I wasn't quite sure when I posted my reply, and thought it might prove useful to future searchers who come upon the thread. Thanks for your addition.++

      HTH,

      planetscape