Perl-Dist-APPerl
view release on metacpan or search on metacpan
lib/Perl/Dist/APPerl.pm view on Meta::CPAN
certain cases such as magic (modifying $0, etc.) The binary must be
assimilated for it to work properly. Note, you likely want to copy
before this operation as it modifies the binary in-place to be bound to
the current environment.
cp perl.com perl
./perl --assimilate
For the most part, APPerl works like normal perl, however it has a
couple additional features.
=head2 EMBEDDED SCRIPTS
The APPerl binary is also a ZIP file. Paths starting with C</zip/>
refer to files compressed in the binary itself. At runtime the zip
filesystem is readonly, but additional modules and scripts can be added
just by adding them to the zip file. For example, perldoc and the other
standard scripts are shipped inside of C</zip/bin>
./perl.com /zip/bin/perldoc perlcosmo
For convenience, APPerl has some other ways of invoking embedded
( run in 0.724 second using v1.01-cache-2.11-cpan-71847e10f99 )