line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::Inventory::DMIDecode::BaseBoard; |
6
|
|
|
|
|
|
|
|
7
|
39
|
|
|
39
|
|
532
|
use v5.12.5; |
|
39
|
|
|
|
|
141
|
|
8
|
39
|
|
|
39
|
|
210
|
use warnings; |
|
39
|
|
|
|
|
91
|
|
|
39
|
|
|
|
|
1832
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.3'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
39
|
|
|
39
|
|
915
|
use Rex::Inventory::DMIDecode::Section; |
|
39
|
|
|
|
|
101
|
|
|
39
|
|
|
|
|
2079
|
|
13
|
39
|
|
|
39
|
|
241
|
use base qw(Rex::Inventory::DMIDecode::Section); |
|
39
|
|
|
|
|
82
|
|
|
39
|
|
|
|
|
5420
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->section("Base Board Information"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->has( |
18
|
|
|
|
|
|
|
[ 'Manufacturer', 'Serial Number', 'Version', 'Product Name', ] ); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub new { |
21
|
3
|
|
|
3
|
0
|
7
|
my $that = shift; |
22
|
3
|
|
33
|
|
|
13
|
my $proto = ref($that) || $that; |
23
|
3
|
|
|
|
|
13
|
my $self = $that->SUPER::new(@_); |
24
|
|
|
|
|
|
|
|
25
|
3
|
|
|
|
|
7
|
bless( $self, $proto ); |
26
|
|
|
|
|
|
|
|
27
|
3
|
|
|
|
|
20
|
return $self; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |