Since PAR version 0.953, this also strips any local paths from the list of module search paths @INC before running the contained script. -C, --clean Clean up temporary files extracted from The system returned: (22) Invalid argument The remote host or network may be down. Home · Authors · Recent · News · Mirrors · FAQ · Feedback in All Modules Distributions Authors permalink Roderich Schupp > PAR-Packer-1.036 You may specify multiple such filters.
Creates FILE unless present. This will speed up the scanning process on subsequent runs. -d, --dependent Reduce the executable size by not including a copy of perl interpreter. Each line in FILE is taken as an argument to -a above. If the given file is a zip or par or par executable, all the files in the given file (except MANIFEST, META.yml and script/*) will be excluded and the output file https://en.wikipedia.org/wiki/PP
This argument will be interpreted as a file to read options from. You may use --xargs to supply arguments in this case. --xargs=STRING If -x is given, splits the STRING using the function shellwords from Text::ParseWords and passes the result as @ARGV when For example, the three lines below are all equivalent: % pp -o output.exe input.pl % pp --output output.exe input.pl % pp --output=output.exe input.pl Since the command lines can become sufficiently long Examples are stuff loaded by run-time loaders like Module::Runtime or "plugin" loaders like Module::Loader.
if your program immediately terminates when run as perl inputfile because it lacks mandatory arguments, then this option will probably have no effect. This option is enabled by default, except when -p or -P is specified. Please try the request again. When a single input program is specified, the resulting executable will behave identically as that program.
If the file is a directory, recursively add all files inside that directory, with links turned into actual files. Make sure you understand the Filter::Crypto caveats! -g, --gui Build an executable that does not have a console window. Generated Wed, 22 Feb 2017 11:44:56 GMT by s_hp108 (squid/3.5.23) https://en.oxforddictionaries.com/definition/pp You may think of pp as "perlcc that works without hassle". :-) A GUI interface is also available as the tkpp command.
Executables built this way will need a separate perl5x.dll or libperl.so to function correctly. This option is only available if perl is built as a shared library. -e, --eval=STRING Package a one-liner, much the same as perl -e '...' -E, --evalfeature=STRING Behaves just like -e, This option is ignored on non-MSWin32 p ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.10/ Connection to 0.0.0.10 EXAMPLES Note: When running on Microsoft Windows, the a.out below will be replaced by a.exe instead. % pp hello.pl # Pack 'hello.pl' into executable 'a.out' % pp -o hello hello.pl #
If nothing matches, it dies with the error Can't open perl script "$0". E.g. The basic usage is to just include an argument starting with an 'at' (@) sigil. Note that which modules are detected depends on which parts of your program are exercised when running inputfile.
It does not provide the compilation-step acceleration provided by perlcc (however, see -f below for byte-compiled, source-hiding techniques), but makes up for it with better reliability, smaller executable size, and full However, when multiple programs are packaged, the produced executable will run the one that has the same basename as $0 (i.e. You may override this by appending the target filename after a ;, like this: % pp -a "old_filename.txt;new_filename.txt" % pp -a "old_dirname;new_dirname" You may specify -a multiple times. -A, --addlist=FILE Read You may specify -A multiple times. -B, --bundle Bundle core modules in the resulting package.
This is implemented using the Getopt::ArgvFile module, so read its documentation for advanced usage. -a, --addfile=FILE|DIR Add an extra file into the package. See feature. -x, --execute Run perl inputfile to determine additional run-time dependencies. OPTIONS Options are available in a short form and a long form. Mixing ordinary options and @file options is possible.
the filename used to invoke it). If you wish to hide the source code from casual prying, this will do: % pp -f Bleach source.pl If you are more serious about hiding your source code, you should Source files are compressed verbatim without compilation.
By default, these files are cached in the temporary directory; this allows the program to start up faster next time. -c, --compile Run perl -c inputfile to determine additional run-time dependencies. Using this option, pp may be able to detect the use of modules that can't be determined by static analysis of inputfile. By default, files are placed under / inside the package with their original names.