Click here to get back home

Perl module disk usage, for embedded system.

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl module disk usage, for embedded system. Makavy 12-05-2005
Posted by Makavy on December 5, 2005, 8:38 am
Please log in for more thread options


Hey,

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
modules.
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 :
#!/usr/local/bin/perl

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.)



P.S:

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

Thank in advance for any comment,
Erez Makavy.



Similar ThreadsPosted
Module to read dar ("disk archive") archives ? May 11, 2005, 3:50 pm
Net::Netmask -> match usage problems April 14, 2005, 10:03 am
Text::Diff usage question July 17, 2006, 9:15 am
Audio DSP Usage in primitive sound cards October 18, 2004, 4:55 am
How to handle input and output of a program executed by System function in perl July 18, 2004, 2:31 pm
How can I install Image::Magick module on windows system? December 10, 2005, 3:36 pm
Override System Module With Newer Local Version (noob) February 2, 2006, 7:36 am
Embedded mysql with DBD::mysql July 30, 2008, 10:15 am
system return value? January 26, 2007, 5:52 pm
How to deal with "{" in system("...command..."); ? August 13, 2008, 8:42 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap