Lines Matching refs:Config

52   $Config_PM = $ARGV[0] || "xlib/$Opts{cross}/Config.pm";
55 $Config_PM = $ARGV[0] || 'lib/Config.pm';
67 package Config;
68 @EXPORT = qw(%%Config);
78 my @funcs = grep $_ ne '%%Config', @_;
88 *{"$callpkg\::Config"} = \%%Config if $export_Config;
110 # now so that I can expand $Config{ivsize} and $Config{ivtype}
153 # So we can say "if $Config{'foo'}".
232 { my $c = $Config{$1}; defined($c) ? $c : 'undef' }ge;
254 $value = $Config{$1};
255 my $withlargefiles = $Config{$new_key};
259 my @lflibswanted = split(' ', $Config{libswanted_uselargefiles});
266 split(' ', $Config{libs});
267 $Config{libs} = join(' ', @libs);
270 split(' ', $Config{libswanted});
271 $Config{libswanted} = join(' ', @libswanted);
321 sub STORE { die "\%Config::Config is read-only\n" }
341 my $v = (exists $Config{$_}) ? $Config{$_} : 'UNKNOWN';
416 # avoid Config..Exporter..UNIVERSAL search for DESTROY then AUTOLOAD
421 tie %%Config, 'Config', {
429 open(CONFIG_POD, ">lib/Config.pod") or die "Can't open lib/Config.pod: $!";
433 Config - access Perl configuration information
437 use Config;
438 if ($Config{'cc'} =~ /gcc/) {
442 use Config qw(myconfig config_sh config_vars config_re);
455 The Config module contains all the information that was available to
459 stored in the readonly-variable C<%Config>, indexed by their names.
496 Here's a more sophisticated example of using %Config:
498 use Config;
503 unless($Config{sig_name} && $Config{sig_num}) {
506 my @names = split ' ', $Config{sig_name};
507 @sig_num{@names} = split ' ', $Config{sig_num};
524 The Config module is installed into the architecture and version
525 specific library directory ($Config{installarchlib}) and it checks the
539 Most C<Config> variables are determined by the C<Configure> script
541 platforms have custom-made C<Config> variables, and may thus not have
658 # Now do some simple tests on the Config.pm file we have created
661 import Config;
664 unless $Config{'PERL_CONFIG_SH'} eq 'true';
667 if defined($Config{'an impossible name'})
668 or $Config{'PERL_CONFIG_SH'} ne 'true' # test cache
672 if eval '$Config{"cc"} = 1'
673 or eval 'delete $Config{"cc"}'