This file is indexed.

/usr/share/perl5/PlSense/Entity.pm is in plsense 0.3.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package PlSense::Entity;

use strict;
use warnings;
use Class::Std::Storable;
use PlSense::Logger;
{
    my %type_of :ATTR();
    sub set_type : RESTRICTED {
        my ($self, $type) = @_;
        $type_of{ident $self} = $type;
    }
    sub get_type { my ($self) = @_; return $type_of{ident $self}; }

    sub START {
        my ($class, $ident, $arg_ref) = @_;
        my $type = $type_of{$ident} || "";
        if ( $type ne "null"
          && $type ne "scalar"
          && $type ne "array"
          && $type ne "hash"
          && $type ne "reference"
          && $type ne "instance" ) {
            logger->error("Invalid type[$type]");
        }
    }

    sub to_string {
        my $self = shift;
        return "";
    }

    sub clone {
        my $self = shift;
        return;
    }
}

1;

__END__