1 | NAME |
1 | NAME |
2 | staticperl - perl, libc, 100 modules, all in one 500kb file |
2 | staticperl - perl, libc, 100 modules, all in one standalone 500kb file |
3 | |
3 | |
4 | SYNOPSIS |
4 | SYNOPSIS |
5 | staticperl help # print the embedded documentation |
5 | staticperl help # print the embedded documentation |
6 | staticperl fetch # fetch and unpack perl sources |
6 | staticperl fetch # fetch and unpack perl sources |
7 | staticperl configure # fetch and then configure perl |
7 | staticperl configure # fetch and then configure perl |
… | |
… | |
320 | add eg/httpd httpd.pm |
320 | add eg/httpd httpd.pm |
321 | |
321 | |
322 | All options that specify modules or files to be added are processed in |
322 | All options that specify modules or files to be added are processed in |
323 | the order given on the command line. |
323 | the order given on the command line. |
324 | |
324 | |
325 | BUNDLE CREATION WORKFLOW / STATICPELR MKBUNDLE OPTIONS |
325 | BUNDLE CREATION WORKFLOW / STATICPERL MKBUNDLE OPTIONS |
326 | staticperl mkbundle works by first assembling a list of candidate files |
326 | staticperl mkbundle works by first assembling a list of candidate files |
327 | and modules to include, then filtering them by include/exclude patterns. |
327 | and modules to include, then filtering them by include/exclude patterns. |
328 | The remaining modules (together with their direct dependencies, such as |
328 | The remaining modules (together with their direct dependencies, such as |
329 | link libraries and AutoLoader files) are then converted into bundle |
329 | link libraries and AutoLoader files) are then converted into bundle |
330 | files suitable for embedding. staticperl mkbundle can then optionally |
330 | files suitable for embedding. staticperl mkbundle can then optionally |
… | |
… | |
691 | removes those known to cause trouble. |
691 | removes those known to cause trouble. |
692 | |
692 | |
693 | Specifically, these are removed: |
693 | Specifically, these are removed: |
694 | |
694 | |
695 | "PERL_HASH_SEED_DEBUG" and "PERL_DEBUG_MSTATS" can cause |
695 | "PERL_HASH_SEED_DEBUG" and "PERL_DEBUG_MSTATS" can cause |
696 | underaible output, "PERL5OPT", "PERL_DESTRUCT_LEVEL", |
696 | undesirable output, "PERL5OPT", "PERL_DESTRUCT_LEVEL", |
697 | "PERL_HASH_SEED" and "PERL_SIGNALS" can alter execution |
697 | "PERL_HASH_SEED" and "PERL_SIGNALS" can alter execution |
698 | significantly, and "PERL_UNICODE", "PERLIO_DEBUG" and "PERLIO" |
698 | significantly, and "PERL_UNICODE", "PERLIO_DEBUG" and "PERLIO" |
699 | can affect input and output. |
699 | can affect input and output. |
700 | |
700 | |
701 | The variables "PERL_LIB" and "PERL5_LIB" are always ignored |
701 | The variables "PERL_LIB" and "PERL5_LIB" are always ignored |