mkselfextract - Creates a self-extracting perl script.
mkselfextract <perlsourcefile> <zipfile>
mkselfextract combines a file containing Perl code and a compressed zip archive into a single file. This file can be run as a Perl program, which as its first action will extract the data in the zip file into a temporary directory.
mkselfextract
To create such a self-extracting script, you can do something like the following:
% zip -r9 distrib.zip src/ doc/ lib/ bin/ % mkselfextract setup-script.pl distrib.zip > setup.pl
Archive::SelfExtract, perl.
Copyright 2004 Greg Fast (gdf@speakeasy.net)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Archive::SelfExtract, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Archive::SelfExtract
CPAN shell
perl -MCPAN -e shell install Archive::SelfExtract
For more information on module installation, please visit the detailed CPAN module installation guide.