Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6
System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
User : User ( 0)
PHP Version : 7.4.6
Disable Function : NONE
Directory :  C:/xampp/perl/vendor/lib/Win32/Exe/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : C:/xampp/perl/vendor/lib/Win32/Exe/ResourceTable.pm
# Copyright 2004 by Audrey Tang <cpan@audreyt.org>

package Win32::Exe::ResourceTable;

use strict;
use base 'Win32::Exe::Base';
use constant FORMAT => (
    DebugDirectory	    => 'V',
    TimeStamp		    => 'V',
    VersionMajor	    => 'v',
    VersionMinor	    => 'v',
    NumNameEntry	    => 'v',
    NumIdEntry		    => 'v',
    'ResourceEntry::Name'   => [ 'a8', '{$NumNameEntry}', 1 ],
    'ResourceEntry::Id'	    => [ 'a8', '{$NumIdEntry}', 1 ],
);

sub set_path {
    my ($self, $path) = @_;
    $self->{path} = $path;
}

sub path {
    my ($self) = @_;
    wantarray ? @{$self->{path}} : $self->{path};
}

sub depth {
    my ($self) = @_;
    scalar @{$self->{path}};
}


1;