in reply to perllocal EXE_FILES and %Config
Things listed in EXE_FILES will be copied to the INST_SCRIPT directory. To answer your question, no, they're not the same on all builds/configs. The defaults using the OS perl on CachyOS:
perl -MConfig -e 'foreach (sort keys %Config) { print "$_ => $Config{$ +_}\n" if /bin|script/ }' bin => /usr/bin bin_ELF => define binexp => /usr/bin d_vendorbin => define d_vendorscript => define installbin => /usr/bin installscript => /usr/bin/core_perl installsitebin => /usr/bin installsitescript => /usr/bin/site_perl installusrbinperl => installvendorbin => /usr/bin installvendorscript => /usr/bin/vendor_perl ld_can_script => define scriptdir => /usr/bin/core_perl scriptdirexp => /usr/bin/core_perl sitebin => /usr/bin sitebinexp => /usr/bin sitescript => /usr/bin/site_perl sitescriptexp => /usr/bin/site_perl vendorbin => /usr/bin vendorbinexp => /usr/bin vendorscript => /usr/bin/vendor_perl vendorscriptexp => /usr/bin/vendor_perl
You can specify where you want these exe files to be copied:
perl Makefile.PL INSTALLSCRIPT=/opt/mybin #cpanm cpanm --make-args "INSTALLSCRIPT=/opt/mybin" Module::Name
You could use your perlbrew configure stage to specify different paths for your perl builds if desired.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perllocal EXE_FILES and %Config
by Anonymous Monk on May 08, 2026 at 18:37 UTC |