← Index
NYTProf Performance Profile   « line view »
For /usr/local/libexec/sympa/task_manager-debug.pl
  Run on Tue Jun 1 22:32:51 2021
Reported on Tue Jun 1 22:35:02 2021

Filename/usr/local/lib/perl5/5.32/mach/Config.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sConfig::::AUTOLOADConfig::AUTOLOAD
0000s0sConfig::::BEGIN@10Config::BEGIN@10
0000s0sConfig::::BEGIN@47Config::BEGIN@47
0000s0sConfig::::BEGIN@9Config::BEGIN@9
0000s0sConfig::::DESTROYConfig::DESTROY
0000s0sConfig::::FETCHConfig::FETCH
0000s0sConfig::::TIEHASHConfig::TIEHASH
0000s0sConfig::::importConfig::import
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# This file was created by configpm when Perl was built. Any changes
2# made to this file will be lost the next time perl is built.
3
4# for a description of the variables, please have a look at the
5# Glossary file, as written in the Porting folder, or use the url:
6# https://github.com/Perl/perl5/blob/blead/Porting/Glossary
7
8package Config;
9use strict;
10use warnings;
11our ( %Config, $VERSION );
12
13$VERSION = "5.032001";
14
15# Skip @Config::EXPORT because it only contains %Config, which we special
16# case below as it's not a function. @Config::EXPORT won't change in the
17# lifetime of Perl 5.
18my %Export_Cache = (myconfig => 1, config_sh => 1, config_vars => 1,
19 config_re => 1, compile_date => 1, local_patches => 1,
20 bincompat_options => 1, non_bincompat_options => 1,
21 header_files => 1);
22
23@Config::EXPORT = qw(%Config);
24@Config::EXPORT_OK = keys %Export_Cache;
25
26# Need to stub all the functions to make code such as print Config::config_sh
27# keep working
28
29sub bincompat_options;
30sub compile_date;
31sub config_re;
32sub config_sh;
33sub config_vars;
34sub header_files;
35sub local_patches;
36sub myconfig;
37sub non_bincompat_options;
38
39# Define our own import method to avoid pulling in the full Exporter:
40sub import {
41 shift;
42 @_ = @Config::EXPORT unless @_;
43
44 my @funcs = grep $_ ne '%Config', @_;
45 my $export_Config = @funcs < @_ ? 1 : 0;
46
47 no strict 'refs';
48 my $callpkg = caller(0);
49 foreach my $func (@funcs) {
50 die qq{"$func" is not exported by the Config module\n}
51 unless $Export_Cache{$func};
52 *{$callpkg.'::'.$func} = \&{$func};
53 }
54
55 *{"$callpkg\::Config"} = \%Config if $export_Config;
56 return;
57}
58
59die "$0: Perl lib version (5.32.1) doesn't match executable '$^X' version ($])"
60 unless $^V;
61
62$^V eq 5.32.1
63 or die sprintf "%s: Perl lib version (5.32.1) doesn't match executable '$^X' version (%vd)", $0, $^V;
64
65
66sub FETCH {
67 my($self, $key) = @_;
68
69 # check for cached value (which may be undef so we use exists not defined)
70 return exists $self->{$key} ? $self->{$key} : $self->fetch_string($key);
71}
72
73sub TIEHASH {
74 bless $_[1], $_[0];
75}
76
77sub DESTROY { }
78
79sub AUTOLOAD {
80 require 'Config_heavy.pl';
81 goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
82 die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
83}
84
85# tie returns the object, so the value returned to require will be true.
86tie %Config, 'Config', {
87 archlibexp => '/usr/local/lib/perl5/5.32/mach',
88 archname => 'amd64-freebsd-thread-multi',
89 cc => 'cc',
90 d_readlink => 'define',
91 d_symlink => 'define',
92 dlext => 'so',
93 dlsrc => 'dl_dlopen.xs',
94 dont_use_nlink => undef,
95 exe_ext => '',
96 inc_version_list => ' ',
97 intsize => '4',
98 ldlibpthname => 'LD_LIBRARY_PATH',
99 libpth => '/usr/lib /usr/local/lib /usr/lib/clang/10.0.1/lib /usr/lib',
100 osname => 'freebsd',
101 osvers => '12.2-release-p3',
102 path_sep => ':',
103 privlibexp => '/usr/local/lib/perl5/5.32',
104 scriptdir => '/usr/local/bin',
105 sitearchexp => '/usr/local/lib/perl5/site_perl/mach/5.32',
106 sitelibexp => '/usr/local/lib/perl5/site_perl',
107 so => 'so',
108 useithreads => 'define',
109 usevendorprefix => undef,
110 version => '5.32.1',
111};