Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How to build a minimum perl, module dependencies

by pbeckingham (Parson)
on Jul 23, 2004 at 18:11 UTC ( [id://376949]=note: print w/replies, xml ) Need Help??


in reply to How to build a minimum perl, module dependencies

  1. When you build your Perl from source, configure it, and build it such that features you do not use (threads, for example) are not built.
  2. Having built and installed your Perl, locate the modules you use by searching the code for use Xxxx; statements, and their dependencies, which are all documented, or available by looking in their source. This is not an easy task.
  3. Delete Modules form your installation that you don't use. Be careful, keep backups.

The better answer is don't bother. Ship an entire standard Perl. The few MB in savings you could get may be outweighed by the task you must undertake to create a minimal Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://376949]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-03-28 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found