Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Acme::MetaSyntactic (script/ is typical)
EXE_FILES: script/meta script/metafy
Pod::Parser
EXE_FILES: scripts/podselect
CGI-Kwiki
EXE_FILES: inc/SCRIPTS/kwiki-install
GD
EXE_FILES: bdf_scripts/bdf2gdfont.pl
App::FatPacker (bin/ is typical too)
EXE_FILES: bin/fatpack
Despite all that, everything listed as EXE_FILES ends up in the same directory, specified (on my system) by 12 %Config variables with the same exact value as $Config{bin}:
/Users/u/perl5/perlbrew/perls/perl-5.42.0/bin
My question is this: do these 12 Config variables have the same value on all Perl installations? I guess there are actually 14 of these same vars, but the vendor values are blank on my system.
Here's a little script to check. I'd like to know if these can be different values so I know which one(s) to use. Thanks in advance.
Output on my system:#!/usr/bin/perl -l # Check if all the bin and script dirs in %Config are the same. use strict; use warnings; use Config; @_ = qw/bin binexp initialinstalllocation installbin installscript installsitebin installsitescript scriptdir scriptdirexp sitebin sitebinexp sitescript sitescriptexp vendorbin vendorbinexp/; printf "%-24s %-100s\n", $_, $Config{$_} for @_;
bin /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin binexp /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin initialinstalllocation /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin installbin /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin installscript /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin installsitebin /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin installsitescript /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin scriptdir /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin scriptdirexp /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin sitebin /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin sitebinexp /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin sitescript /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin sitescriptexp /Users/u/perl5/perlbrew/perls/perl-5.42.0/bin vendorbin vendorbinexp
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perllocal EXE_FILES and %Config
by marto (Cardinal) on May 08, 2026 at 12:44 UTC | |
by Anonymous Monk on May 08, 2026 at 18:37 UTC |