$24 GRAYBYTE WORDPRESS FILE MANAGER $94

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/share/perl5/vendor_perl/Module/Build/

HOME
Current File : /usr/share/perl5/vendor_perl/Module/Build//Config.pm
package Module::Build::Config;

use strict;
use warnings;
our $VERSION = '0.4224';
$VERSION = eval $VERSION;
use Config;

sub new {
  my ($pack, %args) = @_;
  return bless {
		stack => {},
		values => $args{values} || {},
	       }, $pack;
}

sub get {
  my ($self, $key) = @_;
  return $self->{values}{$key} if ref($self) && exists $self->{values}{$key};
  return $Config{$key};
}

sub set {
  my ($self, $key, $val) = @_;
  $self->{values}{$key} = $val;
}

sub push {
  my ($self, $key, $val) = @_;
  push @{$self->{stack}{$key}}, $self->{values}{$key}
    if exists $self->{values}{$key};
  $self->{values}{$key} = $val;
}

sub pop {
  my ($self, $key) = @_;

  my $val = delete $self->{values}{$key};
  if ( exists $self->{stack}{$key} ) {
    $self->{values}{$key} = pop @{$self->{stack}{$key}};
    delete $self->{stack}{$key} unless @{$self->{stack}{$key}};
  }

  return $val;
}

sub values_set {
  my $self = shift;
  return undef unless ref($self);
  return $self->{values};
}

sub all_config {
  my $self = shift;
  my $v = ref($self) ? $self->{values} : {};
  return {%Config, %$v};
}

1;

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
29 Nov 2024 1.43 PM
root / root
0755
Platform
--
31 Aug 2024 4.31 AM
root / root
0755
API.pod
67.087 KB
13 Oct 2019 5.59 PM
root / root
0644
Authoring.pod
10.746 KB
13 Oct 2019 5.59 PM
root / root
0644
Base.pm
161.332 KB
13 Oct 2019 5.59 PM
root / root
0644
Bundling.pod
4.988 KB
13 Oct 2019 5.59 PM
root / root
0644
Compat.pm
18.104 KB
13 Oct 2019 5.59 PM
root / root
0644
Config.pm
1.076 KB
13 Oct 2019 5.59 PM
root / root
0644
ConfigData.pm
6.682 KB
13 Oct 2019 5.59 PM
root / root
0644
Cookbook.pm
16.931 KB
13 Oct 2019 5.59 PM
root / root
0644
Dumper.pm
0.443 KB
13 Oct 2019 5.59 PM
root / root
0644
Notes.pm
8.117 KB
13 Oct 2019 5.59 PM
root / root
0644
PPMMaker.pm
4.432 KB
13 Oct 2019 5.59 PM
root / root
0644
PodParser.pm
1.274 KB
13 Oct 2019 5.59 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF