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

Hello all!
I am currently trying to trim down my perl library so that it can fit on an embedded system
Are there any documents out there that list out the current
perl 5.6.0 libraries what each file represents? I guess if not I'll read through each source
and hopefully guess what I don't need.
thanks

Replies are listed 'Best First'.
Re: Trimming the Perl Library
by TStanley (Canon) on Oct 19, 2001 at 06:47 UTC
    I am assuming you are talking about what modules are included with the standard distribution of Perl, a list of which can be found in perlmodlib.

    TStanley
    --------
    There's an infinite number of monkeys outside who want to talk to us
    about this script for Hamlet they've worked out
    -- Douglas Adams/Hitchhiker's Guide to the Galaxy
Re: Trimming the Perl Library
by Fletch (Bishop) on Oct 19, 2001 at 07:03 UTC

    You can always:

    1. Remove everything
    2. Try and run your program(s)
    3. See what it complains about, and add that
    4. Repeat steps 2 and 3 as necessary :)

    You also probably can immediately cut out any .h (C header) header files if you won't be compiling new modules on the system in question.

      There seems to be a lot of redundancies in the perl package as well as a LOT of .sos!!!
      It seems like I'll have to go with the weed out approach.
      I do have another question. On my distribution, I have a /5.6.0 directory and a /site_perl directory. They have many similar files and there s no readme saying the significance of either.
      thanks
Re: Trimming the Perl Library
by chromatic (Archbishop) on Oct 19, 2001 at 22:29 UTC
    Alan Burlinson from Sun did some work on this back in August. There's a nice description and an entry point to the P5P threads in this summary, second to last section.

    Update: Fixed the link, per Kanji's suggestion.