Perl module disk usage, for embedded system.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


We're concidering including perl in an embedded system.
Disk and RAM usage are parameter that should be minimized.

We have already some applications in Perl, which use several Perl
My objective is to estimate the minimum disk usage of the Perl
installation (includeing all required module)

My questions are:
- How can I determine how much disk space does a module require?
- What components of the Perl installation are actually critical for it
to run?
   - just the executable? (the interpreter - is it realy independent?)
   - only *.pm file (and their dependencies) of modules that are
required. (modeul that are used in my perl scripts)

 - Or the other way: what components can be deleted from the standard
Perl installation?
     - I bet documentation can be deleted (the pod files are ~5MB, are
there more ?)
   (~60 MB)

General questions:
- How can I find out which modules are installed?
  (using a Pc with Linux on it) I've tried :
        1) perllocale.pod - does not contain a modules list, it shows
some documentation file)
        2) Running script :

                use ExtUtils::Installed;
                my $instmod = ExtUtils::Installed->new();
                foreach my $module ($instmod->modules()) {
                my $version = $instmod->version($module) || "???";
                print "$module -- $version\n";

            but it print only the perl version.

- How can I uninstall a specific module?
      (  I don't have ppm.)


About RAM usage, is there a resource for RAM usage estimates of perl
(Or do I have to load the modules and check the RAM usage myself)

Thank in advance for any comment,
Erez Makavy.

Site Timeline