> test_dir
> |_test.pl
> |_modules_dir
> |_config.pm
> |_helper.pm
> |_mech.pm
I want to make .exe file I already installed "PAR::Packer" and it working fine. I tested a temporary script(check.pl) using this command "pp -o check.exe check.pl"
I want to make .exe but also attach the modules_dir, which command I use?
You can use -a
or --addfile=FILE|DIR
options of pp utility.
example usage:
pp -a /path/to/your/include/dir out.exe hello
Please look for other pp options here https://metacpan.org/pod/pp
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.