http://www.perlmonks.org?node_id=1031753

ImJustAFriend has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks. I have a really random question to ask which Google is not helping me with. I recently completed a script for distribution to my team. I always include a write up of how to install ActivePerl and any additional required packages for the script. In this case, though, I have so many modules installed in my machine that I no longer know which are included with the installation, and which I have added manually. Does anyone know how to find a listing of all default ActivePerl packages, short of me uninstalling and reinstalling on my PC?

Thanks in advance!!

ImJustAFriend

Replies are listed 'Best First'.
Re: ActivePerl Default Installed Packages
by marto (Cardinal) on May 02, 2013 at 13:53 UTC
Re: ActivePerl Default Installed Packages (perltoc)
by Anonymous Monk on May 02, 2013 at 14:02 UTC

      Definitely not a package list, or a modlist, but a module doc list :) close enough :) activestate-corelist-perltoc.pl

      Also, I think if you bring up the command prompt and just type in ppm and hit enter, a scrollable window interface will come up with all the installed packages

        But this isn't what OP wants to know. They're specifically looking for the default modules shipped with ActiveState, not a list of everything currently installed.

Re: ActivePerl Default Installed Packages
by Laurent_R (Canon) on May 02, 2013 at 18:45 UTC

    Well, maybe a stupid answer, but if you can find out the date at which a specific module was installed, you can also know whether it was installed together with Perl or at a later point.

Re: ActivePerl Default Installed Packages
by karlgoethebier (Abbot) on May 02, 2013 at 13:36 UTC

    From ppm:

    ppm query [--case|nocase] [--abstract|author] PATTERN
    "Searches for 'PATTERN' (a regular expression) in the name of any installed package. If a search is successful, information about the matching package(s) is displayed. If 'PATTERN' is omitted, information about all installed packages will be displayed."

    Update:

    Oops, i was too fast. That wasn't what you really wanted, sorry.

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Re: ActivePerl Default Installed Packages
by hdb (Monsignor) on May 02, 2013 at 13:46 UTC

    Write a script that lists all .pm files in @INC based on File::Find (cf. Re: How do you use the if pragma?) that sends the list back to you as email. Distribute to a few selected users in your place ;)